E
E
Evgeny Pitaev2014-09-23 20:27:58
JavaScript
Evgeny Pitaev, 2014-09-23 20:27:58

How to properly organize the work of Yandex maps when working with Ajax?

The page has a country selection form that loads regions, by selecting a region the map should be centered on it and the addresses of organizations are loaded, labels with hints should appear on the map for this region.
I did the loading of regions and organizations, but I can’t figure out how to correctly center the region and display labels on the map for the region.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shvedovka, 2014-09-23
@shvedovka

I think you are interested in getBounds , which returns the coordinates of the area covering the collection of marks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question