-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
[Bug]: PointAnnotation renders underneath other layers #3684
Labels
Comments
Lint failed 😭Please fix the errors in your code example - More info.:
|
I am also encountering the same issue. Is there any workaround for this? |
I was able to run the example, I've something similar but can't bring the PointAnnotations above the shapes The example is in pure js, you may be trying to load in a ts project ar a .ts extension file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mapbox Implementation
Mapbox
Mapbox Version
default
React Native Version
0.72.7
Platform
iOS
@rnmapbox/maps
version10.1.31
Standalone component to reproduce
Observed behavior and steps to reproduce
I have a use case where I need to show a circle shape for all the vertices for the polygon and should able to drag the vertices circle to adjust the polygon shape (Attached Image). I am using Pint Annotation along with the LineLayer for this use case but point annotation always comes underneath the line layer. I have tried solutions like setting the higher zIndex for the point annotation or rendering point annotation after line layer rendering is done but nothing seems to be working. Could someone please help here since this is a blocker for the whole feature?
![Screenshot 2024-11-06 at 12 58 58 PM](https://private-user-images.githubusercontent.com/9422538/383449250-de060f39-c3ac-4a9f-b178-a60df811899a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5ODI1MzQsIm5iZiI6MTczOTk4MjIzNCwicGF0aCI6Ii85NDIyNTM4LzM4MzQ0OTI1MC1kZTA2MGYzOS1jM2FjLTRhOWYtYjE3OC1hNjBkZjgxMTg5OWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTlUMTYyMzU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MmRjYmFmZmQ5YjU2NGNhNGUwM2I1YTgzMTQ5NTJmNmYwMTE4MGM4MDNiMGM1YmMyYjE5OWVkYzM3OTlkMGFjZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.BbJyUzZzKDbXqdlh4AK1AwPufetEs_1prtRV2YOHlAg)
Expected behavior
There should be a way where i should able move the point annotation above any other layer.
Notes / preliminary analysis
No response
Additional links and references
No response
The text was updated successfully, but these errors were encountered: