Swiftpack.co - darrarski/SwiftUIMKMapView as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by darrarski.
darrarski/SwiftUIMKMapView v0.3.0
SwiftUI wrapper for MapKit's MKMapView (UIKit).
⭐️ 0
🕓 1 week ago
.package(url: "https://github.com/darrarski/SwiftUIMKMapView.git", from: "v0.3.0")


Swift 5.5 platform iOS

SwiftUI wrapper for MapKit's MKMapView (UIKit).

▶️ Usage

Add as a dependecy to your project using Swift Package Manager.

Embed map view in your SwiftUI view:

import SwiftUIMKMapView

struct ContentView: View {
  var body: some View {
      visibleRect: /* Binding<MKMapRect> */,
      annotations: /* [MKAnnotation] */,
      annotationViewFactory: /* AnnotationViewFactory */,
      overlays: /* [MKOverlay] */,
      overlayRendererFactory: /* OverlayRendererFactory */

Check out the included example app.

🛠 Development

Open SwiftUIMKMapView.xcworkspace in Xcode (≥13.1) for development.

Use ExampleApp scheme to build and run the example application.

☕️ Do you like the project?

Buy Me A Coffee

Consider supporting further development and buy me a coffee.


📄 License

Copyright © 2022 Dariusz Rybicki Darrarski

License: MIT


Stars: 0
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

v0.3.0 - Improved map scrolling
5 days ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics