Files
charleswiltgen__axiom/docs/reference/mapkit-ref.md
T
Charles Wiltgen 08b51d3bf2 docs: enforce en-dash inline-heading separators; WWDC 2026 + xcprof MCP page updates
- Convert 2,136 list-led inline-heading separators (bold/link/code head) from em-dash to spaced en-dash per the documentation-style dash convention
- Fix prose unspaced em-dashes (spaced em-dash) in Documentation Scope boilerplate
- app-store-ref: Xcode Cloud; xcprof-ref: MCP-wrapper invocation + example prompt
2026-06-13 16:09:36 -07:00

2.2 KiB
Raw Blame History

MapKit Reference

Complete MapKit API reference covering SwiftUI Map, MKMapView, annotations, search, directions, Look Around, and snapshots.

When to Use This Reference

Use this reference when:

  • Looking up SwiftUI Map content builder API
  • Configuring MapCameraPosition for programmatic camera control
  • Implementing MKLocalSearch or MKLocalSearchCompleter
  • Setting up MKDirections for routing
  • Working with Look Around scenes
  • Checking iOS version requirements for MapKit features

Example Prompts

  • "What's the SwiftUI Map API for annotations?"
  • "How do I use MapCameraPosition?"
  • "What's the MKLocalSearch API for autocomplete?"
  • "How do I calculate directions between two points?"
  • "What iOS version added SwiftUI Map?"
  • "How do I create a map snapshot image?"

What's Covered

  • SwiftUI Map API (content builder, camera position, map controls, styles, selection)
  • Map content types (Marker, Annotation, UserAnnotation, shapes)
  • MKMapView lifecycle and delegate methods
  • Annotation customization and clustering
  • MKLocalSearch and MKLocalSearchCompleter (including the 11 point-of-interest categories new in the 27 releases)
  • MKDirections and MKRoute
  • Look Around (MKLookAroundScene, LookAroundPreview)
  • Overlays and renderers
  • Map snapshots (MKMapSnapshotter)
  • iOS version feature matrix
  • GeoToolbox framework and PlaceDescriptor (iOS 26+)
  • MKGeocodingRequest and MKReverseGeocodingRequest
  • MKAddress type

Documentation Scope

This page documents the axiom-location skill — the API reference Claude uses for MapKit syntax and configuration.

For decision trees and anti-patterns: See MapKit for when to use SwiftUI Map vs MKMapView and annotation strategies. For troubleshooting: See MapKit Diagnostics for symptom-based diagnosis.

Resources

WWDC: 2023-10043, 2024-10094

Skills: axiom-location