Answer the question
In order to leave comments, you need to log in
How to test the behavior of YMaps.location in different situations?
I determine the user's position using YMaps.location, I build the database of cities and regions according to this service, so that it is convenient to work with the received data and the database.
But I had a question: St. Petersburg and Moscow are cities of federal significance, i.e. they are equated with regions, like regions or republics.
On Avito, for example, there is no city of Moscow in the Moscow Region region, but there is in the Moscow region - and what results will YMaps.location give me?
region: 'Москва',
city: 'Москва'
region: 'Московская область',
city: 'Москва'
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