Skip to content
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

Provide an option to decide if annotations should be deselected when moving the map #62

Open
captainbarbosa opened this issue Dec 20, 2019 · 0 comments
Labels
help wanted Pull requests welcome!

Comments

@captainbarbosa
Copy link
Contributor

Similar to mapbox/mapbox-gl-native#8022, we should give developers the option to deselect annotations when panning and zooming on the map if they are in a selected state.

The solution to this will likely involve adding a new deselectsAutomatically property to MGLAnnotationController that checks if this option is true and then called the appropriate delegate methods accordingly (such as in https://github.com/mapbox/mapbox-annotation-extension/blob/master/MapboxAnnotationExtension/Views/MGLAnnotationLayerView.m#L48).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Pull requests welcome!
Projects
None yet
Development

No branches or pull requests

1 participant