MKMapView wrapper for SwiftUI

This page summarizes the projects mentioned and recommended in the original post on /r/swift

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • TCCMapTileAnimation

    iOS Project to display animated map tiles within MapKit

  • Do you have some links to things you found in your investigation? Animated overlays are something I’ve been researching recently and the only thing I’ve found is this: https://github.com/TheClimateCorporation/TCCMapTileAnimation. Have you found more?

  • 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)

  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts