D
D
Dartess2016-08-14 13:52:58
JavaScript
Dartess, 2016-08-14 13:52:58

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

1 answer(s)
D
display: block, 2016-08-14
@Dartess

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 question

Ask a Question

731 491 924 answers to any question