Map

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! (by pauljohanneskraft)

Map Alternatives

Similar projects and alternatives to Map

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Map alternative or higher similarity.

Map reviews and mentions

Posts with mentions or reviews of Map. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-27.
  • Publishing changes from within view updates is not allowed, this will cause undefined behavior. on Map with Annotations
    1 project | /r/SwiftUI | 16 May 2023
    Something similar to this which can help w performance a lot especially if you use clusters
  • Map clustering for new Map()
    1 project | /r/swift | 7 May 2023
    Eventually they will have to add it but i wouldnt hold my breath. You can still use swiftui views in uikit annotations and wrap mkmapview to look like swiftui similar to this
  • Any good tutorials on how to get directions in a map for swiftui?
    1 project | /r/swift | 3 May 2022
    To get directions, have a look at the official MapKit documentation for MKDirections. In each route of MKDirection.Response, you can find an overlay of type MKOverlay that you can use on MKMapView. Apples own Map implementation for SwiftUI is actually pretty limited, so you can either wrap MKMapView yourself or use the library that I built: https://github.com/pauljohanneskraft/Map
  • MKMapView wrapper for SwiftUI
    2 projects | /r/swift | 27 Apr 2022
    You can find a first approach in this pull request I opened. It allows you to effectively call setNeedsDisplay on the MKOverlayRenderer in use by use of Combine publishers and gives you custom access to the draw and canDraw methods of MKOverlayRenderer directly - would love this to be a SwiftUI view instead, but I'm not sure how to draw into a cgcontext directly - maybe with a UIHostingController and then draw its view into the cgcontext? but then again, how would you map the SwiftUI view to individual MKMapPoints? not sure, if this would ever be a simple task.
    1 project | /r/SwiftUI | 26 Apr 2022
    I was quite frustrated with the limited functionality of MapKit's MKMapView SwiftUI wrapper - so I built my own with a lot more features and customization options and made it open source on GitHub.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 26 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic Map repo stats
5
175
1.6
7 months ago

pauljohanneskraft/Map is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of Map is Swift.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com