V
V
Vladislav2020-12-30 10:00:12
Yandex maps
Vladislav, 2020-12-30 10:00:12

How to block scrolling in Yandex maps?

How to block scrolling in Yandex maps? When you scroll through the page and reach the map, you scroll to the bottom block, but instead of scrolling, there is a reaction to the map, a familiar situation to everyone, how to block the map scroll?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danny Arty, 2020-12-30
@SlavaMaxwell

At the end of the map insert script just add scroll=false or replace scroll=true with scroll=false

T
tugens111, 2020-12-30
@tugens111

map.behaviors.disable('drag')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question