Scrolling the page zooms the map
-
Thank you for this great plugin.
Is it possible to prevent the map zooming in when scrolling the page with a mouse or via a two finger drag on the touchpad whenever the cursor is over the map, or would it be possible for an option to be added to enable a solution for this – perhaps something similar to the feature which can be enabled on Google Maps which uses map.setOptions({scrollwheel:false});?
I have attempted a fix by enqueung the leaflet.sleep script from https://github.com/CliffCloud/Leaflet.Sleep however this did not seem to work for me.
The site I am using this on is only on a local installation at the moment, however the zoom on scroll behaviour is the same on your waymark demo page.
- The topic ‘Scrolling the page zooms the map’ is closed to new replies.