Retrieve Location Details for a Suggestion
- Last UpdatedNov 25, 2024
- 2 minute read
Retrieve Location Details for a Suggestion
After the user types a few characters, request a list of suggestions from the HERE Geocoder Autocomplete API. Show the suggestions to the user. After the user selects a suggestion, retrieve the detailed location information corresponding to the suggestion using the Geocoder API.
Request
Request a list of address suggestions for the search text Pariser 1
Berl
:
Response
The response from the HERE Geocoder Autocomplete API contains a number of suggestions. Each of them represents a location defined through a set of attributes, but these do not provide detailed location information such as geographic coordinates.
Geocoder Request to retrieve the Location Details
After the user has selected a suggestion, you can retrieve the location
details such as the geographic coordinates via the HERE
Geocoder API, using look-up by
locationId
.