Request address details for a given location and display it on the map.
This example makes a reverse geocode request and retrieves the first address found around a specified location in Berlin (52.5309°N 13.3847°E) using a 150 meter radius to retrieve the address of HERE House. The expected address is: Invalidenstraße 116, 10115 Berlin. A clickable marker is placed on the address found.
Access to the geocoding service is obtained from the H.service.Platform
by calling getSearchService()
. The reverseGeocode()
method is used
to find a location by passing in the relevant parameters as defined in
Geocoding and Search API v7
.
The styling and display of the response is under the control of the developer.