You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
does GL JS currently address the case of a two-finger pinch-to-zoom gesture where the averaged point between the fingers moves (a “wandering zoom”)? On a touchscreen, it’s quite difficult to keep that centerpoint stationary as you pinch your fingers or spread them apart. To maintain a responsive feel, it’s necessary to pan at the same time as zooming (though perhaps some use cases may call for a more precise gesture handler that locks the center while zooming).
Steps to Trigger Behavior
Start zooming the map on a touch device
Still touching the map with two fingers, try panning the map
Expected Behavior
The map moves so that the location between fingers persist through the whole gesture. For comparison, Leaflet and various other maps APIs do this.
mapbox-gl-js version: v1.0.0
browser: iOS Safari / Android Chrome / Edge on Mobile
Capturing #8100 (comment) by @1ec5:
Steps to Trigger Behavior
Expected Behavior
The map moves so that the location between fingers persist through the whole gesture. For comparison, Leaflet and various other maps APIs do this.
Actual Behavior
The map doesn't move.
Link to Demonstration
https://docs.mapbox.com/mapbox-gl-js/example/simple-map/
The text was updated successfully, but these errors were encountered: