Answer the question
In order to leave comments, you need to log in
How to display different maps using the Yandex Maps api?
In general, using ymaps.geolocation.city, we determine the city and display various contact details.
But you also need to display a point on the map depending on the city. What is the best way to do this?
Answer the question
In order to leave comments, you need to log in
Yandex has a geocoder https://tech.yandex.ru/maps/geocoder/
You feed it an address (which you apparently have in your contacts), it returns you the coordinates.
Store at the same time the geo coordinates of the city center and generate a map through the same Yandex
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question