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

Marker position is not updated when changing from a projection with world copies to one without #12129

Closed
danielfdsilva opened this issue Aug 2, 2022 · 0 comments · Fixed by #12242
Labels

Comments

@danielfdsilva
Copy link

mapbox-gl-js version: 2.9.2

browser: any

Steps to Trigger Behavior

  1. Drag the map to the right until the marker jumps to the other world copy
  2. Click "switch projection"
  3. Marker is now outside the world

Aug-02-2022 17-21-44

Link to Demonstration

https://codesandbox.io/s/trusting-bartik-vhk4j1?file=/src/App.js

Expected Behavior

The marker position is updated and it shows in the correct place

Actual Behavior

The marker appears off world

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

Successfully merging a pull request may close this issue.

2 participants