Answer the question
In order to leave comments, you need to log in
How to determine if there is a city in a string?
How to use Yandex maps to determine if there is a city in the line? For example, "Sovetskaya 15" is false, "Sovetskaya 15 Sochi" is true.
Answer the question
In order to leave comments, you need to log in
Send a request to the geocoder
https://tech.yandex.ru/maps/doc/geocoder/desc/conc...
and compare the string with the response.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question