-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
mouseenter event not firing correctly on circle #5756
Comments
thanks for the issue @VictorChen Looks like the left edge of the circle spills into a different tile that doesn't contain the point geometry for the circle, despite the circle being rendered in it: |
^ @VictorChen to clarify, that is the expected behavior, just an undesirable one. The |
thanks @peterqliu, although that feels like a weird expected behavior (the fact that the |
I thought increasing the buffer might help, ensuring that the feature is also present in the tile on the left but testing this with buffer: 512 made no difference. |
I've run into this issue trying to implement hover states for features in a symbol layer. Here's repro: https://jsfiddle.net/ajfickas/gpv122z4/ Is the plan to address this as part of #6022? |
fix #5756 Some rendered features (circles, symbols, lines) can extend outside of the boundaries of the tile they are stored in. When querying we have to check all tiles within `additionalRadius` of the query.
fix #5756 Some rendered features (circles, symbols, lines) can extend outside of the boundaries of the tile they are stored in. When querying we have to check all tiles within `additionalRadius` of the query.
fix #5756 Some rendered features (circles, symbols, lines) can extend outside of the boundaries of the tile they are stored in. When querying we have to check all tiles within `additionalRadius` of the query.
fix #5756 Some rendered features (circles, symbols, lines) can extend outside of the boundaries of the tile they are stored in. When querying we have to check all tiles within `additionalRadius` of the query.
fix #5756 Some rendered features (circles, symbols, lines) can extend outside of the boundaries of the tile they are stored in. When querying we have to check all tiles within `additionalRadius` of the query.
fix #5756 Some rendered features (circles, symbols, lines) can extend outside of the boundaries of the tile they are stored in. When querying we have to check all tiles within `additionalRadius` of the query.
When you enter the circle from the LEFT side (works fine on other sides, just not the left), the
mouseenter
event doesn't get fired until you reach closer to the center.Reproducer:
https://jsfiddle.net/0mknjj30/6/
I'd expect it to trigger AS SOON as my cursor touches the left edge of the circle
The text was updated successfully, but these errors were encountered: