• 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)
  • Hi,
    thanks a lot for your feedback. there is a specific leaflet plugin
    (https://github.com/CliffCloud/Leaflet.Sleep) which might solve this issue – we consider adding this with a future release.
    best,
    Robert

    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?

    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.