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
This is caused by a de-syncing of projection state between react-map-gl and mapbox-gl-js When the zoom passes the globe-to-mercator transition,map.transform.projection is set by react to be globe when it should be mercator.
// Mapbox map is stateful.// During method calls/user interactions, map.transform is mutated and// deviate from user-supplied props.// In order to control the map reactively, we shadow the transform// with the one below, which reflects the view state resolved from// both user-supplied props and the underlying state
mapbox-gl-js version: Main branch
browser: Tested in Firefox and Chrome
Steps to Trigger Behavior
Screen.Recording.2022-04-01.at.2.18.45.PM.mov
The text was updated successfully, but these errors were encountered: