A
A
Andrey Salnikov2016-07-25 11:39:42
JavaScript
Andrey Salnikov, 2016-07-25 11:39:42

How to set up Yandex Maps correctly?

The problem is that the map needs to be scaled with the mouse wheel. But if you just make a map, then when you scroll with the mouse, the page will also scroll. Logically. How to make it so that when the map is focused, only it is scaled, and the page does not scroll. Do I need to somehow work with the scroll event or is there a built-in Ymaps setting?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Savrasov, 2016-07-25
@Shshzik

https://tech.yandex.ru/maps/doc/jsapi/2.0/ref/ref...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question