Answer the question
In order to leave comments, you need to log in
How to solve the problem of Yandex.map zoom jumping by -1 when searching through SearchControl?
I observe the following problem:
when using SearchControl, each search request reduces the zoom of the map by -1. The expected behavior is that the map does not fly into space with each request.
Adding setZoom to then does not help, the map is still moving away with each request.
This problem can be observed in the sandbox if you search for something several times through the search form: https://tech.yandex.ru/maps/jsbox/2.1/search_contr...
Tell me
how to solve it?
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