Skip to content

Maps component should handle gestureHandling prop #46

@mjstromberg

Description

@mjstromberg

I'm having an issue on mobile browsers where the user is forced to use two fingers to move the map:

two-fingers-to-move-map-issue

The solution is to allow the Maps component to handle a gestureHandling prop that can then be assigned to the mapConfig object. The gestureHandling prop can accept strings of 'greedy', 'cooperative', 'none', or 'auto'.

I've made the changes and will open a PR. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions