Answer the question
In order to leave comments, you need to log in
Address Autocomplete - is it possible to do it based on the Geocoder API?
Using the Geocoder API from Yandex, it is not possible to make a full-fledged address autocomplete, similar to that of Google https://developers.google.com/places/web-service/a... .
The problem is that it does not know how to work with an incomplete request, always returning the found objects in the first place by a complete match. That is, until I write the full name of the street in the geocode parameter, the first objects that come across will be returned by complete coincidence. For example, we are looking for Yakovleva Street. I limit the search area using the ll, spn or bbox parameters to my city (Minsk) and still requests with a partial name arrive in response with anything but Yakovlev Street (rivers in Siberia, locations in Saudi Arabia and the Czech Republic, etc. :=)). Only after entering the full name, the correct coordinates are returned.
My limitations are the use of the HTTP API, perhaps the geocoder service is not the right choice, but Yandex did not find anything else (except for implementations in ready-made js libs, for example https://yandex.ru/dev/maps/jsapi/doc/2.1/ref /refer... ).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question