Map
Map copied to clipboard
MKMapView wrapper for SwiftUI as drop-in to MapKit's SwiftUI view. Easily extensible annotations and overlays, iOS 13 support and backwards compatible with MKAnnotation and MKOverlay!
Using MapAnnotation I can change the coordinate of an item and it changes on the map. However if I use ViewMapAnnotation, it doesn't change the location. Here is a code...
Not sure if the problem comes from your package or from MapKit directly. Whenever I add MapAnnotations, these are not centered on their middle point and rotate around another near...
What should happen if an annotation is selected, should there be an option to handle these cases?
Annotation selection - `ViewMapAnnotation` extended for `selectedContent` = content to display when the annotation is selected - `Map` initializers extended for `selectedItem` binding - allows to observe the selected item...
Thank you for creating a great library! This PR includes support for tapping the overlay for MacOS, iOS and tvOS. MapKit does not have an API for tapping the overlay,...
Looks like a great project, thanks for your work! Is it possible to click on a view in ViewMapAnnotation to bring up a small window with more information? I tried...
Still open questions: - How to enable animations? - How to allow for integration with AVFoundation, AVKit and so on? - How to make setting coordinate/boundingMapRect of the overlay dynamically...
I needed to be able to set [displayPriority](https://developer.apple.com/documentation/mapkit/mkannotationview/2867298-displaypriority) and [collisionMode](https://developer.apple.com/documentation/mapkit/mkannotationview/2873315-collisionmode) of the `MKAnnotationView` that gets built from the `ViewMapAnnotation`. This PR exposes these values as properties of `ViewMapAnnotation`, and `MKMapAnnotationView`...