-
Notifications
You must be signed in to change notification settings - Fork 50
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
Handle annotation selection #4
Comments
This will likely need to be implemented in the map itself as to be able to have access to the annotation item type. Will have a look at how deselection might be possible - not sure yet. |
I came here looking similarly to see if dragging of annotations was handled. Thanks. |
@chrisperfer It is not handled at the moment - I'm just curious - do you have a UIKit-MapKit example of how you would do that? Then I could adapt it for SwiftUI. I would assume that you put some form of DragGestureRecognizer on the annotationView and then manipulate its coordinate according to the zoomScale and region? You can already dynamically change the annotation's coordinate though - you can find out more in #15 |
Just opened a PR with how I handled the annotation selection in my fork. And thank you for the library of course! 💪 |
…onMisplacement Annotation and Clusterannotation views display properties. Improves t…
What should happen if an annotation is selected, should there be an option to handle these cases?
The text was updated successfully, but these errors were encountered: