• Resolved berad

    (@berad)


    Thank you for such a great extension plugin.

    However, with the original Leaflet Map, you can use 1 finger to drag, and the scroll wheel controls zoom; with this extensions plugin activated, it now requires 2 fingers to drag, and you need to press the control button while using the scroll wheel.
    I really enjoy and appreciate the features in this extension, but would really like to be able to use the maps with only 1 hand.

    I have tried all combinations with and without the “dragging” and “scrollwheel” options, with no change in map gesture behavior.

    Thank you.
    —————
    Leaflet Map 2.23.3
    Extensions for Leaflet Map 1.2
    Wordpress 5.7.1

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author hupe13

    (@hupe13)

    I will provide an option for this.

    Thread Starter berad

    (@berad)

    Thank you very much.

    Plugin Author hupe13

    (@hupe13)

    Which parameter for leaflet-map you are using? I can’t scroll the screen with a map on a mobile (Android). “tap” seems no work.

    Thread Starter berad

    (@berad)

    [leaflet-map fitbounds]
    using “dragging” and/or “scrollwheel” has no effect.

    to be more clear:
    on mobile, with Extensions for Leaflet Map activated, it says “use 2 fingers to move the map”. I can move (drag) the map with 2 fingers on ios 14.4 & android 10, but on android 8 it does not work.

    with Extensions for Leaflet Map deactivated, I can drag/move the map with 1 finger on all mobile devices tested.
    ———————-

    on pc, with Extensions for Leaflet Map activated, it says “use ctrl + scroll to zoom the map”;
    with Extensions for Leaflet Map deactivated, I can scroll with the mouse wheel without pressing the ctrl button also.

    Thread Starter berad

    (@berad)

    an example of what I am looking to do can be found at:
    https://developers.google.com/maps/documentation/javascript/interaction#gesture-handling

    it talks about gesturehandling – greedy vs. cooperative

    greedy allows single finger dragging and scrollwheel zoom, while cooperative requires 2 fingers to drag and ctrl+scroll wheel to zoom.

    I would like the “greedy” gesture handling, or the option to switch between the two options. =)

    Plugin Author hupe13

    (@hupe13)

    I can only support, what https://github.com/elmarquis/Leaflet.GestureHandling offers. Now it is enabled as default and you can disable it in the settings.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘GestureHandling – please restore/ option for 1 finger gestures’ is closed to new replies.