-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Inverted zIndex #321
Comments
Let me exemplify:
Edit: i have looked on issues for a possible solution and couldn't fine none. I should also note that i do not work for big techs, heck, i'm a brazilian hobbyist. |
I was able to understand the behavior: actually, when I click on overlapping geometries, an event will be triggered for each geometry, and I was only handling the last one. Thanks to #265, I was able to notice. |
I am using RLayerVectorTile, passing the zIndex in the properties, but the rendering seems inverted, I believe. For example, if I have two layers, the first with index 1 and the second with index 2, and with two overlapping geometries, the one with index 2 should be on top of the one with index 1, but that's not happening. However, the click events are working as expected, respecting the higher index. Can you help me?
The text was updated successfully, but these errors were encountered: