Cooperative gestures
This example shows how to enable cooperative gestures with a specific language.
See how it behaves: on desktop, zoom using the mouse wheel. On mobile, touch and move the map.
Windows: Use Ctrl + scroll to zoom the map.
Mac: Use ⌘ + scroll to zoom the map.
Mobile: Use two fingers to move the map.
Related examples
An extension of MapLibre GL JS