Y
Y
Yustas Alexu2014-05-27 13:22:23
JavaScript
Yustas Alexu, 2014-05-27 13:22:23

How to disable scrollZoom in Yandex maps connected via their API?

API version 2.1 - I'm reading the documentation and can't figure out how to do it. Yandex.Maps fills the entire width of the page and this behavior is very annoying - you want to scroll the page, but instead you get a zoom.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey K, 2014-05-27
@Yuxus

myMap.behaviors.disable('scrollZoom');
api.yandex.ru/maps/doc/jsapi/2.1/ref/reference/Map.xml

P
probear, 2017-01-23
@probear

script type="text/javascript" charset="utf-8" async src=" https://api-maps.yandex.ru/services/constructor/1.... ... scroll=false">At the end maps just need to fix scroll=true to scroll=false

D
Dmitry Istomin, 2017-02-04
@Dimitr74

Is it possible to make the zoom appear when you click on the map?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question