Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

n8han
Copy link
Collaborator

@n8han n8han commented Jan 26, 2021

When deselectStyleAnnotation is called synchronously in this delegate
callback, the operation silently fails and the selected appearance for
the annotation (typically, a blue tinted overlay) remains. This is an
unexpected state, since the flutter-mapbox-gl wrapper does not track
annotation selection and has no way to remove it. If the annotation
itself is removed, the selection remains visible on the map.

If we call deselectStyleAnnotation asynchronously, the selection is
removed as expected an is not visible to the user as a tinted overlay.

When `deselectStyleAnnotation` is called synchronously in this delegate
callback, the operation silently fails and the selected appearance for
the annotation (typically, a blue tinted overlay) remains. This is an
unexpected state, since the flutter-mapbox-gl wrapper does not track
annotation selection and has no way to remove it. If the annotation
itself is removed, the selection remains visible on the map.

If we call `deselectStyleAnnotation` asynchronously, the selection is
removed as expected an is not visible to the user as a tinted overlay.
@n8han n8han added bug Something isn't working ios labels Jan 26, 2021
4F2E4A2E
4F2E4A2E approved these changes Feb 5, 2021
@tobrun tobrun merged commit 66a2b44 into master Feb 12, 2021
@tobrun tobrun deleted the AnnotationSelection branch February 12, 2021 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants