Title: scroll over map
Last modified: December 10, 2016

---

# scroll over map

 *  [asc1212](https://wordpress.org/support/users/asc1212/)
 * (@asc1212)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/scroll-over-map/)
 * hey, I’m playing with this plugin and love what you did here.
    One issue that
   I wonder about is the scrolling over the map. If a user scrolls a page and the
   cursor is overlapping the map, the scroll turns to zoom map rather than continue
   the scroll. Turning ‘scrollWheelZoom’ to false, turns this off but does not allow
   zooming the map with the scroll wheel. I suggest you consider allow page scroll(
   without map zoom when hover the map while in a move) and map zoom while going
   into the map. Thnaks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/scroll-over-map/#post-8544182)
 * Hi,
    thanks a lot for your feedback. there is a specific leaflet plugin ([https://github.com/CliffCloud/Leaflet.Sleep](https://github.com/CliffCloud/Leaflet.Sleep))
   which might solve this issue – we consider adding this with a future release.
   best, Robert
 *  [knottulf](https://wordpress.org/support/users/knottulf/)
 * (@knottulf)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/scroll-over-map/#post-8966721)
 * I tried it, by just enqueuing it in functions.php. However, I get this error:
   
   Uncaught ReferenceError: L is not defined. I understand that this is the wrong
   way, but which is the right way to integrate this js-plugin (or any other) with
   mapsmarker pro in wordpress?
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/scroll-over-map/#post-8966765)
 * this will not work, sorry. Adding leaflet plugins to our plugins is usually not
   a trivial task and requires changes in multiple files, so unfortunately I can’t
   give you a tutorial here.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘scroll over map’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-maps-marker/assets/icon.svg?rev=970936)
 * [Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)](https://wordpress.org/plugins/leaflet-maps-marker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-maps-marker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-maps-marker/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-maps-marker/reviews/)

## Tags

 * [scroll](https://wordpress.org/support/topic-tag/scroll/)
 * [scrolling](https://wordpress.org/support/topic-tag/scrolling/)
 * [zoom](https://wordpress.org/support/topic-tag/zoom/)

 * 3 replies
 * 3 participants
 * Last reply from: [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/scroll-over-map/#post-8966765)
 * Status: not resolved