Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Only allow interactions with two fingers in mobile #11

Open
juliomuhlbauer opened this issue Dec 30, 2024 · 0 comments
Open

[Feat] Only allow interactions with two fingers in mobile #11

juliomuhlbauer opened this issue Dec 30, 2024 · 0 comments

Comments

@juliomuhlbauer
Copy link

juliomuhlbauer commented Dec 30, 2024

Target Use Case

I want to let the user scroll the page without messing with the maps with one finger.

Proposal

Like: https://openfreemap.org/

Classes applied:

maplibregl-canvas-container maplibregl-interactive maplibregl-cooperative-gestures maplibregl-touch-drag-pan maplibregl-touch-zoom-rotate

Screenshot_20241230_194837_Chrome

I think is the touch-drag-pen class that solves this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant