There is a list of cities, as by clicking on the city center the Yandex map and highlight the boundary of the city, as implemented on the Yandex map itself. API 2.1
- Popiarsya :) You can do the same as with city districts in response ru.stackoverflow.com/a/462531/177613 only in the query line leave the name of the city - tutankhamun
|
1 answer
Selecting boundaries is a feature of Yandex and they do not spread it by API (of course, you can implement it yourself). At the expense of centering will help this: myMap.setCenter ([57.767265, 40.925358]); And to find out the coordinates of a place by its name, reverse geocoding will help: reverse geocoding
- how to center already done, but with the city border jamb. But thanks anyway for the answer! - Karalahti
|