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

queryRenderedFeatures doesn't detect circles correctly #6622

Closed
hyperknot opened this issue May 6, 2018 · 1 comment
Closed

queryRenderedFeatures doesn't detect circles correctly #6622

hyperknot opened this issue May 6, 2018 · 1 comment

Comments

@hyperknot
Copy link

hyperknot commented May 6, 2018

mapbox-gl-js version: 0.44.2
browser: Chrome 66 / macOS

Steps to Trigger Behavior

  • Add 100px circle at [0,0]
  • move the mouse around using mouseenter/mouseleave

Link to Demonstration

https://codesandbox.io/s/7wyv3pwkyj
circle

Expected Behavior

Should detect on full circle.

Actual Behavior

Only detects on South-East quarter.

0.39 is the last version with the correct behaviour.

Possibly related: #5756
#6036
@ansis

@hyperknot
Copy link
Author

Sorry, I didn't realise it only made it to 0.45 beta, where it's indeed fixed.

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

No branches or pull requests

1 participant