This class call Nominatim and parse the response
This async method search an address from a latitude and longitude
Name | Type | Description |
---|---|---|
latLng | Array of Number | The latitude and longitude to be used to search the address |
This method search an address from a latitude and longitude with a Promise.
Name | Type | Description |
---|---|---|
latLng | Array of Number | The latitude and longitude to be used to search the address |
The Lat and Lng for thr geocoding
The NominatimDataLoader object
The OverpassAPIDataLoader object
The distance used in the OverpassAPI query for places
This method search the address
This method is executed by the Promise to search an address. The #getAddressAsync return always a response, eventually with empty strings, so the onError function is never called
Name | Type | Description |
---|---|---|
onOk | Function | The ok handler |
onError | Function | The error handler |
This method get the Overpass query
This method merge the data from Nominatim and theOverpassAPI