← ClaudeAtlas

mapkitlisted

Build or review maps and location features with MapKit and Core Location. Use for map views, annotations, overlays, user location, geocoding, place search, directions, geofencing, region monitoring, location authorization, or coordinate-based app behavior.
thiennc-tesoglobal/ios-skills · ★ 3 · Code & Development · score 66
Install: claude install-skill thiennc-tesoglobal/ios-skills
# MapKit Build map-based and location-aware features targeting iOS 17+ with SwiftUI MapKit and modern CoreLocation async APIs. Use `Map` with `MapContentBuilder` for views, `CLLocationUpdate.liveUpdates()` for streaming location, and `CLMonitor` for geofencing. Read [references/mapkit-patterns.md](references/mapkit-patterns.md) when you need full map setup, search, routes, Look Around, snapshots, or iOS 26 place APIs. Read [references/mapkit-corelocation-patterns.md](references/mapkit-corelocation-patterns.md) when the task involves location update lifecycle, geofencing, background location, testing, or privacy keys. ## Contents - [Workflow](#workflow) - [SwiftUI Map View (iOS 17+)](#swiftui-map-view-ios-17) - [CoreLocation Modern API](#corelocation-modern-api) - [Geocoding](#geocoding) - [Search](#search) - [Directions](#directions) - [PlaceDescriptor (iOS 26+)](#placedescriptor-ios-26) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Workflow ### 1. Add a map with markers or annotations 1. Import `MapKit`. 2. Create a `Map` view with optional `MapCameraPosition` binding. 3. Add `Marker`, `Annotation`, `MapPolyline`, `MapPolygon`, or `MapCircle` inside the `MapContentBuilder` closure. 4. Configure map style with `.mapStyle()`. 5. Add map controls with `.mapControls { }`. 6. Handle selection with a `selection:` binding. ### 2. Track user location 1. Add `NSLocationWhenInUseUsageDescription` to Info.plist.