R
R
Ruslan Shashkov2015-03-25 10:25:01
JavaScript
Ruslan Shashkov, 2015-03-25 10:25:01

How to track the map zoom change event in the Yandex.Maps API?

Actually, the question is how to track the map zoom change event in the Yandex.Maps API? But not from controls, but in principle a zoom change caused by any of the possible methods, a cluster, a double click, a mouse scroll, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Entelis, 2015-03-25
@rshashkov

You need the boundschange event. It is called both when changing the zoom and when the map moves.
There is no separate event for changing the zoom.
https://tech.yandex.ru/maps/doc/jsapi/2.0/ref/ref...
https://tech.yandex.ru/maps/doc/jsapi/2.0/dg/conce...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question