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

Wrong popup position when zoom out mapbox #6118

Closed
thachnv opened this issue Feb 9, 2018 · 2 comments
Closed

Wrong popup position when zoom out mapbox #6118

thachnv opened this issue Feb 9, 2018 · 2 comments
Assignees

Comments

@thachnv
Copy link

thachnv commented Feb 9, 2018

mapbox-gl-js version: 0.44.0

Steps to Trigger Behavior

  1. Go to https://www.mapbox.com/mapbox-gl-js/example/popup-on-hover/
  2. Zoom out all the way until can't zoom out any more. Now we can see 2 points that will popup when hover.
  3. Hover the left point, popup position is correct. Hover the right point, popup still pop on the left point

Expected Behavior

  • Popup on correct position

Actual Behavior

  • Hover to the right but popup pop on the left:

untitled

@andrewharvey
Copy link
Collaborator

related to #4577

@jfirebaugh
Copy link
Contributor

I've added code to this example to show how to handle this case.

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

No branches or pull requests

4 participants