• Hi, I have a lot of users arriving to my website with mobile devices.

    I am not sure whats the best option with

    gesturehandling

    Thanks for support

Viewing 1 replies (of 1 total)
  • Plugin Author webaware

    (@webaware)

    G’day ramonjosegn,

    For mobile, cooperative is best because it lets visitors scroll the page without interruption. This is the plugin default. Visitors are prompted to use two fingers to move the map around when they try to move it with one finger.

    It’s also the best for desktop because scrolling the page with the mouse scroll wheel has the same issues, and cooperative prompts the visitor to use the CTRL or ? key if they want to zoom with the scroll wheel.

    The auto setting should also do this, because it detects when to use cooperative and when to use greedy, but sometimes it gets confused and then it becomes hard to scroll the page again.

    In my opinion, unless your map is the only thing on your page and visitors can always access navigation, you should always use cooperative. Since this is the plugin default, you don’t need to specify it — so leave out the gesturehanding attribute (and also don’t use dblclickzoom, draggable, scrollwheel). Only add attributes when you need to change from the defaults.

    cheers,
    Ross

Viewing 1 replies (of 1 total)
  • The topic ‘I am not sure what option use new “gesturehandling” atribtute’ is closed to new replies.