There is a google-map on the site. If while scrolling the page the mouse is on the map, the map scale changes, and the page does not scroll.

How to disable map scaling when hovering over the map?

  • Can create a transparent block on top of the map? But then the map cannot be controlled at all - fremail

2 answers 2

In the 3rd version of the API, it is sufficient to set the scrollwheel property of the MapOptions object to false .

Details on stackoverflow: How to disable mouse scroll-wheel scaling with Google Maps API

    Or according to the method of such an example - http://jsfiddle.net/0u6v4jnp/. As for me, more rational and more convenient.