-
Notifications
You must be signed in to change notification settings - Fork 96
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
PointAnnotation ID cannot be set #497
Comments
Duplicate of #445 |
Hi @noforeignland, thank you for raising this. We currently don't allow setting custom ID for annotations due to our MapboxMaps Android SDK does not support this, however, after some internal discussion, we have decided to enable this in Android and therefore we can also enable this in MapboxMaps Flutter plugin. |
Thanks for the update - in the meantime, how can apps detect which marker was tapped on without an id ? |
Problem:
The ID that gets retreived from the feature that's tapped is an internally generated GUID and offers no clue to the listener about which point was selected by the user.
From the demo app:
Expected behaviour
There should be a way to set the ID when adding points to the annotation manager.
The text was updated successfully, but these errors were encountered: