Address Autocompletion Based on OpenStreetMap Data
The address autocomplete API takes the string the user typed in the input field and “guesses” which addresses he could have meant.
Request
-
input type
string
The string the user typed in the input field
Response
The response contains a list of guesses in the guesses
field.
-
pos see Position
The string the user typed in the input field
-
name type
string
The street name.
-
type type
string
The type of the address. May be
street
orplace
. -
regions see Region
Regions (city, country, etc.) the address is located in.
Region
-
name see Range
The region name.
-
admin_level see Range
The admin level corresponding to the OpenStreetMap admin level.
Address Guesser Request Example
Address Guesser Response Example