We pass as much information as we have to get the lat/long for the addresses. For some addresses, we have only CountryCode without any other information. We should be able to get Lat/Long from the countryCode provided.
Is there a way we can get lat/long from location or extent below:
"candidates": [
{
"address": "Sgp",
"location": {
"x": -40.309738060999621,
"y": -20.310026429999596
},
"score": 100,
"attributes": {
"Addr_type": "POI"
},
"extent": {
"xmin": -40.314739000000003,
"ymin": -20.315027000000001,
"xmax": -40.304738999999998,
"ymax": -20.305026999999999
}
}
]