This API gives the feature to search the desired location on the basis of latitude and longitude. You need to type the latitude and longitude of the desired location.
Name | Type | Description |
---|---|---|
fm_token | string | Enter Flightmap token available in Flightmap dashboard |
lat | string | Enter the latitude of the desired location |
lng | string | Enter the longitude of the desired location |
zoom | number | Enter the number to the desired extent you want to zoom in. [0-20] |
Zoom Levels | Description |
---|---|
zoom level 3 | refers to Country |
zoom level 5 | refers to State |
zoom level 6 | refers to Region |
zoom level 10 | refers to City |
zoom level 12 | refers to Town/Village |
zoom level 14 | refers to Suburb |
zoom level 18 | refers to Building |
To use the Reverse Geocoding API, perform a GET request on the following endpoints:
https://maps.flightmap.io/api/search_reverse?fm_token=<your api key here>&lat=30.6944792&lng=76.8796062&zoom=18
Description
Name | Type | Description |
---|---|---|
data | Object | Complete address of the place |
address | string | Address of the place |
formatted_address | string | Formatted address of the place |
The Search Reverse API returns following result in a JSON format.
{ "message": "Successful",
"status": 200,
"data": {
"address": "Panchkula, Haryana",
"formatted_address": "Unnamed Road, Panchkula, Haryana 134109, India"
}
}