[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E6FFFKP0WHY1KXFN6FKQHN":3,"skill-same:01M6E6FFFKP0WHY1KXFN6FKQHN":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6E6FFFKP0WHY1KXFN6FKQHN","axiom-mapkit-ref",null,"MapKit API reference — SwiftUI Map, MKMapView, Marker, Annotation, MKLocalSearch, MKDirections, Look Around, MKMapSnapshotter, clustering, overlays, GeoToolbox PlaceDescriptor, geocoding","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FCharlesWiltgen\u002FAxiom\u002Faxiom-mapkit-ref\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27],"axiom mapkit ref","clustering","api","swiftui","look","reference","geocoding","map","annotation","2026-11-10 10:12:30",false,"---\nname: axiom-mapkit-ref\ndescription: MapKit API reference — SwiftUI Map, MKMapView, Marker, Annotation, MKLocalSearch, MKDirections, Look Around, MKMapSnapshotter, clustering, overlays, GeoToolbox PlaceDescriptor, geocoding\nlicense: MIT\nmetadata:\n  version: \"1.0.0\"\n  last-updated: \"2026-02-26\"\n---\n\n# MapKit API Reference\n\nComplete MapKit API reference for iOS development. Covers both SwiftUI Map (iOS 17+) and MKMapView (UIKit).\n\n## Related Skills\n\n- `axiom-mapkit` — Decision trees, anti-patterns, pressure scenarios\n- `axiom-mapkit-diag` — Symptom-based troubleshooting\n\n---\n\n## Part 1: Modern API Overview\n\n| Feature | SwiftUI Map (iOS 17+) | MKMapView |\n|---|---|---|\n| Declaration | `Map(position:) { content }` | `MKMapView()` |\n| Camera control | `MapCameraPosition` binding | `setRegion(_:animated:)` |\n| Annotations | `Marker`, `Annotation` in content | `addAnnotation(_:)` + delegate |\n| Overlays | `MapCircle`, `MapPolyline`, `MapPolygon` | `addOverlay(_:)` + renderer delegate |\n| User location | `UserAnnotation()` | `showsUserLocation = true` |\n| Selection | `.mapSelection($selection)` | delegate `didSelect` |\n| Controls | `.mapControls { }` | `showsCompass`, `showsScale` |\n| Interaction modes | `.mapInteractionModes([])` | delegate methods |\n| Clustering | Built-in via `.mapItemClusteringIdentifier` | `MKClusterAnnotation` |\n\n---\n\n## Part 2: SwiftUI Map API\n\n### Basic Map\n\n```swift\n@State private var cameraPosition: MapCameraPosition = .automatic\n\nMap(position: $cameraPosition) {\n    Marker(\"Home\", coordinate: homeCoord)\n    Annotation(\"Custom\", coordinate: coord) {\n        Image(systemName: \"star.fill\")\n            .foregroundStyle(.yellow)\n            .padding(4)\n            .background(.blue, in: Circle())\n    }\n    UserAnnotation()\n    MapCircle(center: coord, radius: 500)\n        .foregroundStyle(.blue.opacity(0.3))\n    MapPolyline(coordinates: routeCoords)\n        .stroke(.blue, lineWidth: 3)\n}\n.mapStyle(.standard(elevation: .realistic))\n.mapControls {\n    MapUserLocationButton()\n    MapCompass()\n    MapScaleView()\n}\n```\n\n### MapCameraPosition\n\nControls where the camera is positioned:\n\n```swift\n\u002F\u002F System manages camera to show all content\n.automatic\n\n\u002F\u002F Specific region\n.region(MKCoordinateRegion(\n    center: CLLocationCoordinate2D(latitude: 37.7749, longitude: -122.4194),\n    span: MKCoordinateSpan(latitudeDelta: 0.05, longitudeDelta: 0.05)\n))\n\n\u002F\u002F Specific camera with pitch and heading\n.camera(MapCamera(\n    centerCoordinate: coordinate,\n    distance: 1000,    \u002F\u002F meters from center\n    heading: 90,       \u002F\u002F degrees from north\n    pitch: 60          \u002F\u002F degrees from vertical (0 = top-down)\n))\n\n\u002F\u002F Follow user location\n.userLocation(followsHeading: true, fallback: .automatic)\n\n\u002F\u002F Show specific item\n.item(mapItem)\n\n\u002F\u002F Show specific rect\n.rect(MKMapRect(...))\n```\n\n#### Programmatic Camera Changes\n\n```swift\n\u002F\u002F Animate to new position\nwithAnimation {\n    cameraPosition = .region(newRegion)\n}\n\n\u002F\u002F Keyframe animation (iOS 17+)\nMap(position: $cameraPosition)\n    .mapCameraKeyframeAnimator(trigger: flyToTrigger) { initialCamera in\n        KeyframeTrack(\\.centerCoordinate) {\n            LinearKeyframe(destination, duration: 2.0)\n        }\n        KeyframeTrack(\\.distance) {\n            CubicKeyframe(5000, duration: 1.0)\n            CubicKeyframe(1000, duration: 1.0)\n        }\n    }\n```\n\n### Map Selection\n\n```swift\n@State private var selectedItem: MKMapItem?\n\nMap(position: $cameraPosition, selection: $selectedItem) {\n    ForEach(mapItems, id: \\.self) { item in\n        Marker(item: item)\n    }\n}\n.onChange(of: selectedItem) { _, newItem in\n    if let newItem {\n        \u002F\u002F Handle selection\n    }\n}\n```\n\n### Camera Change Callback\n\n```swift\nMap(position: $cameraPosition) { ... }\n    .onMapCameraChange { context in\n        \u002F\u002F context.region — visible MKCoordinateRegion\n        \u002F\u002F context.camera — current MapCamera\n        \u002F\u002F context.rect — visible MKMapRect\n        fetchAnnotations(in: context.region)\n    }\n    .onMapCameraChange(frequency: .continuous) { context in\n        \u002F\u002F Called during gesture (not just at end)\n    }\n```\n\n### Map Styles\n\n```swift\n.mapStyle(.standard)                              \u002F\u002F Default\n.mapStyle(.standard(elevation: .realistic))        \u002F\u002F 3D buildings\n.mapStyle(.standard(emphasis: .muted))             \u002F\u002F Muted colors\n.mapStyle(.standard(pointsOfInterest: .including([.restaurant, .cafe])))\n.mapStyle(.imagery)                                \u002F\u002F Satellite\n.mapStyle(.imagery(elevation: .realistic))         \u002F\u002F 3D satellite\n.mapStyle(.hybrid)                                 \u002F\u002F Satellite + labels\n.mapStyle(.hybrid(elevation: .realistic))          \u002F\u002F 3D hybrid\n```\n\n### Interaction Modes\n\n```swift\n\u002F\u002F Allow all interactions (default)\n.mapInteractionModes(.all)\n\n\u002F\u002F Read-only map (no interaction)\n.mapInteractionModes([])\n\n\u002F\u002F Pan only, no zoom\n.mapInteractionModes([.pan])\n\n\u002F\u002F Pan and zoom, no rotate\u002Fpitch\n.mapInteractionModes([.pan, .zoom])\n```\n\n---\n\n## Part 3: Map Content\n\n### Marker\n\nSystem-styled map marker with callout:\n\n```swift\n\u002F\u002F Basic marker\nMarker(\"Coffee Shop\", coordinate: coord)\n\n\u002F\u002F With system image\nMarker(\"Coffee Shop\", systemImage: \"cup.and.saucer.fill\", coordinate: coord)\n\n\u002F\u002F With monogram (2 characters max)\nMarker(\"Coffee Shop\", monogram: Text(\"CS\"), coordinate: coord)\n\n\u002F\u002F Color\nMarker(\"Coffee Shop\", coordinate: coord)\n    .tint(.brown)\n\n\u002F\u002F From MKMapItem\nMarker(item: mapItem)\n```\n\n### Annotation\n\nFully custom view at a coordinate:\n\n```swift\nAnnotation(\"Custom Pin\", coordinate: coord) {\n    VStack {\n        Image(systemName: \"mappin.circle.fill\")\n            .font(.title)\n            .foregroundStyle(.red)\n        Text(\"Here\")\n            .font(.caption)\n    }\n}\n\n\u002F\u002F Anchor point (default is bottom center)\nAnnotation(\"Pin\", coordinate: coord, anchor: .center) {\n    Circle()\n        .fill(.blue)\n        .frame(width: 20, height: 20)\n}\n```\n\n### UserAnnotation\n\nCurrent user location indicator:\n\n```swift\nUserAnnotation()\n\n\u002F\u002F Custom appearance\nUserAnnotation(anchor: .center) {\n    Image(systemName: \"location.circle.fill\")\n        .foregroundStyle(.blue)\n}\n```\n\n### Shape Overlays\n\n```swift\n\u002F\u002F Circle\nMapCircle(center: coord, radius: 1000)  \u002F\u002F radius in meters\n    .foregroundStyle(.blue.opacity(0.2))\n    .stroke(.blue, lineWidth: 2)\n\n\u002F\u002F Polygon\nMapPolygon(coordinates: polygonCoords)\n    .foregroundStyle(.green.opacity(0.3))\n    .stroke(.green, lineWidth: 2)\n\n\u002F\u002F Polyline\nMapPolyline(coordinates: routeCoords)\n    .stroke(.blue, lineWidth: 4)\n\n\u002F\u002F From MKRoute\nMapPolyline(route.polyline)\n    .stroke(.blue, lineWidth: 5)\n```\n\n### Clustering\n\n```swift\nForEach(locations) { location in\n    Marker(location.name, coordinate: location.coordinate)\n        .tag(location.id)\n}\n.mapItemClusteringIdentifier(\"locations\")\n```\n\n---\n\n## Part 4: MKMapView Lifecycle and Delegates\n\n### Creating MKMapView in SwiftUI\n\n```swift\nstruct MapViewWrapper: UIViewRepresentable {\n    @Binding var region: MKCoordinateRegion\n    let annotations: [MKAnnotation]\n\n    func makeUIView(context: Context) -> MKMapView {\n        let mapView = MKMapView()\n        mapView.delegate = context.coordinator\n        mapView.showsUserLocation = true\n        mapView.register(\n            MKMarkerAnnotationView.self,\n            forAnnotationViewWithReuseIdentifier: \"marker\"\n        )\n        return mapView\n    }\n\n    func updateUIView(_ mapView: MKMapView, context: Context) {\n        \u002F\u002F Guard against infinite loops\n        if !regionsAreEqual(mapView.region, region) {\n            mapView.setRegion(region, animated: true)\n        }\n\n        \u002F\u002F Diff annotations instead of removing all\n        let current = Set(mapView.annotations.compactMap { $0 as? MyAnnotation })\n        let desired = Set(annotations.compactMap { $0 as? MyAnnotation })\n        let toAdd = desired.subtracting(current)\n        let toRemove = current.subtracting(desired)\n        mapView.addAnnotations(Array(toAdd))\n        mapView.removeAnnotations(Array(toRemove))\n    }\n\n    func makeCoordinator() -> Coordinator {\n        Coordinator(self)\n    }\n\n    static func dismantleUIView(_ mapView: MKMapView, coordinator: Coordinator) {\n        mapView.removeAnnotations(mapView.annotations)\n        mapView.removeOverlays(mapView.overlays)\n    }\n}\n```\n\n### Key MKMapViewDelegate Methods\n\n```swift\nclass Coordinator: NSObject, MKMapViewDelegate {\n    var parent: MapViewWrapper\n\n    init(_ parent: MapViewWrapper) {\n        self.parent = parent\n    }\n\n    \u002F\u002F Annotation view customization\n    func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {\n        guard !(annotation is MKUserLocation) else { return nil }  \u002F\u002F Use default for user\n\n        let view = mapView.dequeueReusableAnnotationView(\n            withIdentifier: \"marker\",\n            for: annotation\n        ) as! MKMarkerAnnotationView\n        view.markerTintColor = .systemRed\n        view.glyphImage = UIImage(systemName: \"mappin\")\n        view.clusteringIdentifier = \"poi\"\n        view.canShowCallout = true\n        return view\n    }\n\n    \u002F\u002F Overlay rendering\n    func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {\n        if let circle = overlay as? MKCircle {\n            let renderer = MKCircleRenderer(circle: circle)\n            renderer.fillColor = UIColor.systemBlue.withAlphaComponent(0.2)\n            renderer.strokeColor = .systemBlue\n            renderer.lineWidth = 2\n            return renderer\n        }\n        if let polyline = overlay as? MKPolyline {\n            let renderer = MKPolylineRenderer(polyline: polyline)\n            renderer.strokeColor = .systemBlue\n            renderer.lineWidth = 4\n            return renderer\n        }\n        if let polygon = overlay as? MKPolygon {\n            let renderer = MKPolygonRenderer(polygon: polygon)\n            renderer.fillColor = UIColor.systemGreen.withAlphaComponent(0.3)\n            renderer.strokeColor = .systemGreen\n            renderer.lineWidth = 2\n            return renderer\n        }\n        return MKOverlayRenderer(overlay: overlay)\n    }\n\n    \u002F\u002F Region change tracking\n    func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {\n        parent.region = mapView.region\n    }\n\n    \u002F\u002F Annotation selection\n    func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {\n        \u002F\u002F Handle tap\n    }\n\n    \u002F\u002F Cluster annotation\n    func mapView(\n        _ mapView: MKMapView,\n        clusterAnnotationForMemberAnnotations memberAnnotations: [MKAnnotation]\n    ) -> MKClusterAnnotation {\n        MKClusterAnnotation(memberAnnotations: memberAnnotations)\n    }\n}\n```\n\n---\n\n## Part 5: Annotation Types and Customization\n\n### MKMarkerAnnotationView (iOS 11+)\n\nBalloon-shaped marker with glyph:\n\n```swift\nlet view = MKMarkerAnnotationView(annotation: annotation, reuseIdentifier: \"marker\")\nview.markerTintColor = .systemPurple\nview.glyphImage = UIImage(systemName: \"star.fill\")\nview.glyphText = \"A\"                    \u002F\u002F Text glyph (overrides image)\nview.displayPriority = .required        \u002F\u002F Always visible\nview.clusteringIdentifier = \"category\"  \u002F\u002F Enable clustering\nview.canShowCallout = true\nview.titleVisibility = .adaptive        \u002F\u002F Show title based on space\nview.subtitleVisibility = .hidden\n```\n\n### MKAnnotationView\n\nFully custom annotation view:\n\n```swift\nlet view = MKAnnotationView(annotation: annotation, reuseIdentifier: \"custom\")\nview.image = UIImage(named: \"custom-pin\")\nview.centerOffset = CGPoint(x: 0, y: -view.image!.size.height \u002F 2)\nview.canShowCallout = true\nview.leftCalloutAccessoryView = UIImageView(image: thumbnail)\nview.rightCalloutAccessoryView = UIButton(type: .detailDisclosure)\n```\n\n### Custom Callout\n\n```swift\nfunc mapView(\n    _ mapView: MKMapView,\n    annotationView view: MKAnnotationView,\n    calloutAccessoryControlTapped control: UIControl\n) {\n    guard let annotation = view.annotation as? MyAnnotation else { return }\n    \u002F\u002F Navigate to detail view\n}\n```\n\n### Annotation View Reuse\n\nAlways use `dequeueReusableAnnotationView(withIdentifier:for:)`:\n\n```swift\n\u002F\u002F Register in makeUIView (once)\nmapView.register(MKMarkerAnnotationView.self, forAnnotationViewWithReuseIdentifier: \"marker\")\n\n\u002F\u002F Dequeue in delegate (every time)\nfunc mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {\n    let view = mapView.dequeueReusableAnnotationView(withIdentifier: \"marker\", for: annotation)\n    \u002F\u002F Configure...\n    return view\n}\n```\n\nWithout reuse: 1000 annotations = 1000 views in memory.\nWith reuse: ~20-30 views recycled as user scrolls.\n\n---\n\n## Part 6: MKLocalSearch and MKLocalSearchCompleter\n\n### MKLocalSearchCompleter — Real-Time Autocomplete\n\n```swift\nlet completer = MKLocalSearchCompleter()\ncompleter.delegate = self\ncompleter.resultTypes = [.pointOfInterest, .address]\ncompleter.region = visibleMapRegion    \u002F\u002F Bias results to visible area\n\n\u002F\u002F Update on each keystroke\ncompleter.queryFragment = \"coffee\"\n\n\u002F\u002F Delegate receives results\nfunc completerDidUpdateResults(_ completer: MKLocalSearchCompleter) {\n    let results = completer.results  \u002F\u002F [MKLocalSearchCompletion]\n    for result in results {\n        \u002F\u002F result.title — \"Starbucks\"\n        \u002F\u002F result.subtitle — \"123 Main St, San Francisco, CA\"\n        \u002F\u002F result.titleHighlightRanges — Ranges matching query\n    }\n}\n\nfunc completer(_ completer: MKLocalSearchCompleter, didFailWithError error: Error) {\n    \u002F\u002F Network error, rate limit, etc.\n}\n```\n\n### MKLocalSearch — Full Search\n\n```swift\n\u002F\u002F From autocomplete completion\nlet request = MKLocalSearch.Request(completion: selectedCompletion)\n\n\u002F\u002F From natural language\nlet request = MKLocalSearch.Request()\nrequest.naturalLanguageQuery = \"coffee shops\"\nrequest.region = mapRegion                        \u002F\u002F Bias results\nrequest.resultTypes = .pointOfInterest            \u002F\u002F Filter type\nrequest.pointOfInterestFilter = MKPointOfInterestFilter(\n    including: [.cafe, .restaurant]\n)\n\nlet search = MKLocalSearch(request: request)\nlet response = try await search.start()\n\nfor item in response.mapItems {\n    \u002F\u002F item.name — \"Starbucks\"\n    \u002F\u002F item.placemark — MKPlacemark with address\n    \u002F\u002F item.placemark.coordinate — CLLocationCoordinate2D\n    \u002F\u002F item.phoneNumber — optional phone\n    \u002F\u002F item.url — optional website\n    \u002F\u002F item.pointOfInterestCategory — .cafe, .restaurant, etc.\n}\n```\n\n### Result Types\n\n```swift\n\u002F\u002F Filter what kind of results to return\nrequest.resultTypes = .address           \u002F\u002F Street addresses only\nrequest.resultTypes = .pointOfInterest   \u002F\u002F Businesses, landmarks\nrequest.resultTypes = .physicalFeature   \u002F\u002F Mountains, lakes, parks\nrequest.resultTypes = .query             \u002F\u002F Suggested search queries (iOS 18+)\nrequest.resultTypes = [.pointOfInterest, .address]  \u002F\u002F Multiple types\n```\n\n### Rate Limiting\n\n- `MKLocalSearchCompleter` handles its own throttling — safe to call on every keystroke\n- `MKLocalSearch` — Apple rate-limits these; don't fire more than ~1\u002Fsecond\n- If rate-limited, you'll get an error in the completion handler\n- Reuse `MKLocalSearchCompleter` instances — don't create new ones per query\n\n---\n\n## Part 7: MKDirections and MKRoute\n\n### Calculate Directions\n\n```swift\nlet request = MKDirections.Request()\nrequest.source = MKMapItem.forCurrentLocation()\nrequest.destination = destinationMapItem\nrequest.transportType = .automobile\nrequest.requestsAlternateRoutes = true   \u002F\u002F Get multiple routes\n\nlet directions = MKDirections(request: request)\nlet response = try await directions.calculate()\n\nfor route in response.routes {\n    route.polyline                  \u002F\u002F MKPolyline — display on map\n    route.expectedTravelTime       \u002F\u002F TimeInterval in seconds\n    route.distance                 \u002F\u002F CLLocationDistance in meters\n    route.name                     \u002F\u002F \"I-280 S\" — route name\n    route.advisoryNotices          \u002F\u002F [String] — warnings\n    route.steps                    \u002F\u002F [MKRoute.Step] — turn-by-turn\n}\n```\n\n### Transport Types\n\n```swift\n.automobile    \u002F\u002F Driving directions\n.walking       \u002F\u002F Pedestrian directions\n.transit       \u002F\u002F Public transit (where available)\n.any           \u002F\u002F All modes\n```\n\n### ETA Only (Faster)\n\n```swift\nlet directions = MKDirections(request: request)\nlet eta = try await directions.calculateETA()\neta.expectedTravelTime     \u002F\u002F TimeInterval\neta.distance               \u002F\u002F CLLocationDistance\neta.expectedArrivalDate    \u002F\u002F Date\neta.expectedDepartureDate  \u002F\u002F Date\neta.transportType          \u002F\u002F MKDirectionsTransportType\n```\n\n### Turn-by-Turn Steps\n\n```swift\nfor step in route.steps {\n    step.instructions    \u002F\u002F \"Turn right onto Main St\"\n    step.distance        \u002F\u002F CLLocationDistance in meters\n    step.polyline        \u002F\u002F MKPolyline for this step's segment\n    step.transportType   \u002F\u002F May change for transit routes\n    step.notice          \u002F\u002F Optional advisory\n}\n```\n\n---\n\n## Part 8: Look Around\n\n### Check Availability\n\n```swift\nlet request = MKLookAroundSceneRequest(coordinate: coordinate)\ndo {\n    let scene = try await request.scene\n    \u002F\u002F scene is non-nil — Look Around available at this coordinate\n} catch {\n    \u002F\u002F Look Around not available here\n}\n```\n\n### SwiftUI\n\n```swift\n@State private var lookAroundScene: MKLookAroundScene?\n\nLookAroundPreview(scene: $lookAroundScene)\n    .frame(height: 200)\n\n\u002F\u002F Load scene\nfunc loadLookAround(for coordinate: CLLocationCoordinate2D) async {\n    let request = MKLookAroundSceneRequest(coordinate: coordinate)\n    lookAroundScene = try? await request.scene\n}\n```\n\n### UIKit\n\n```swift\nlet controller = MKLookAroundViewController(scene: scene)\n\u002F\u002F Present modally or embed as child view controller\n```\n\n### Static Snapshot\n\n```swift\nlet snapshotter = MKLookAroundSnapshotter(scene: scene, options: .init())\nlet snapshot = try await snapshotter.snapshot\nlet image = snapshot.image  \u002F\u002F UIImage\n```\n\n---\n\n## Part 9: Overlays and Renderers\n\n### Adding Overlays (MKMapView)\n\n```swift\n\u002F\u002F Circle\nlet circle = MKCircle(center: coordinate, radius: 1000)\nmapView.addOverlay(circle)\n\n\u002F\u002F Polygon\nlet polygon = MKPolygon(coordinates: &coords, count: coords.count)\nmapView.addOverlay(polygon)\n\n\u002F\u002F Polyline\nlet polyline = MKPolyline(coordinates: &coords, count: coords.count)\nmapView.addOverlay(polyline, level: .aboveRoads)\n\n\u002F\u002F Custom tile overlay\nlet template = \"https:\u002F\u002Ftile.example.com\u002F{z}\u002F{x}\u002F{y}.png\"\nlet tileOverlay = MKTileOverlay(urlTemplate: template)\ntileOverlay.canReplaceMapContent = true  \u002F\u002F Hides Apple Maps base layer\nmapView.addOverlay(tileOverlay, level: .aboveLabels)\n```\n\n### Renderer Delegate\n\n```swift\nfunc mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {\n    switch overlay {\n    case let circle as MKCircle:\n        let renderer = MKCircleRenderer(circle: circle)\n        renderer.fillColor = UIColor.systemBlue.withAlphaComponent(0.2)\n        renderer.strokeColor = .systemBlue\n        renderer.lineWidth = 2\n        return renderer\n\n    case let polyline as MKPolyline:\n        let renderer = MKPolylineRenderer(polyline: polyline)\n        renderer.strokeColor = .systemBlue\n        renderer.lineWidth = 4\n        return renderer\n\n    case let polygon as MKPolygon:\n        let renderer = MKPolygonRenderer(polygon: polygon)\n        renderer.fillColor = UIColor.systemGreen.withAlphaComponent(0.3)\n        renderer.strokeColor = .systemGreen\n        renderer.lineWidth = 2\n        return renderer\n\n    case let tile as MKTileOverlay:\n        return MKTileOverlayRenderer(tileOverlay: tile)\n\n    default:\n        return MKOverlayRenderer(overlay: overlay)\n    }\n}\n```\n\n### Overlay Levels\n\n```swift\nmapView.addOverlay(overlay, level: .aboveRoads)    \u002F\u002F Above roads, below labels\nmapView.addOverlay(overlay, level: .aboveLabels)   \u002F\u002F Above everything\n```\n\n### Gradient Polyline\n\n```swift\nlet renderer = MKGradientPolylineRenderer(polyline: polyline)\nrenderer.setColors([.green, .yellow, .red], locations: [0.0, 0.5, 1.0])\nrenderer.lineWidth = 6\n```\n\n---\n\n## Part 10: Map Snapshots\n\nGenerate static map images for sharing, thumbnails, or offline display:\n\n```swift\nlet options = MKMapSnapshotter.Options()\noptions.region = MKCoordinateRegion(\n    center: coordinate,\n    span: MKCoordinateSpan(latitudeDelta: 0.01, longitudeDelta: 0.01)\n)\noptions.size = CGSize(width: 300, height: 200)\noptions.scale = UIScreen.main.scale           \u002F\u002F Retina support\noptions.mapType = .standard\noptions.showsBuildings = true\noptions.pointOfInterestFilter = .excludingAll  \u002F\u002F Clean map\n\nlet snapshotter = MKMapSnapshotter(options: options)\nlet snapshot = try await snapshotter.start()\nlet image = snapshot.image\n\n\u002F\u002F Draw custom annotations on snapshot\nUIGraphicsBeginImageContextWithOptions(image.size, true, image.scale)\nimage.draw(at: .zero)\n\nlet pinImage = UIImage(systemName: \"mappin.circle.fill\")!\nlet point = snapshot.point(for: coordinate)\npinImage.draw(at: CGPoint(\n    x: point.x - pinImage.size.width \u002F 2,\n    y: point.y - pinImage.size.height\n))\n\nlet finalImage = UIGraphicsGetImageFromCurrentImageContext()\nUIGraphicsEndImageContext()\n```\n\n#### Snapshot Coordinate Conversion\n\n```swift\n\u002F\u002F Convert coordinate to point in snapshot image\nlet point = snapshot.point(for: coordinate)\n\n\u002F\u002F Check if coordinate is in snapshot bounds\nlet isVisible = CGRect(origin: .zero, size: snapshot.image.size).contains(point)\n```\n\n---\n\n## Part 11: iOS Version Feature Matrix\n\n| Feature | iOS Version |\n|---|---|\n| MKMapView | 3.0+ |\n| MKLocalSearch | 6.1+ |\n| MKDirections | 7.0+ |\n| MKMarkerAnnotationView | 11.0+ |\n| MKMapSnapshotter | 7.0+ |\n| MKLookAroundSceneRequest | 16.0+ |\n| LookAroundPreview (SwiftUI) | 17.0+ |\n| SwiftUI Map (content builder) | 17.0+ |\n| MapCameraPosition | 17.0+ |\n| .mapSelection | 17.0+ |\n| .mapCameraKeyframeAnimator | 17.0+ |\n| .onMapCameraChange | 17.0+ |\n| MapUserLocationButton | 17.0+ |\n| MapCompass | 17.0+ |\n| MapScaleView | 17.0+ |\n| .mapInteractionModes | 17.0+ |\n| MKLocalSearch.ResultType.query | 18.0+ |\n| GeoToolbox \u002F PlaceDescriptor | 26.0+ |\n| MKGeocodingRequest | 26.0+ |\n| MKReverseGeocodingRequest | 26.0+ |\n| MKAddress | 26.0+ |\n\n---\n\n## Part 12: GeoToolbox and Geocoding\n\n### GeoToolbox Framework\n\n`GeoToolbox` provides `PlaceDescriptor` — a standardized representation of physical locations that works across MapKit and third-party mapping services.\n\n```swift\nimport GeoToolbox\n\n\u002F\u002F From address\nlet fountain = PlaceDescriptor(\n    representations: [.address(\"121-122 James's St \\n Dublin 8 \\n D08 ET27 \\n Ireland\")],\n    commonName: \"Obelisk Fountain\"\n)\n\n\u002F\u002F From coordinates\nlet tower = PlaceDescriptor(\n    representations: [.coordinate(CLLocationCoordinate2D(latitude: 48.8584, longitude: 2.2945))],\n    commonName: \"Eiffel Tower\"\n)\n\n\u002F\u002F Multiple representations\nlet statue = PlaceDescriptor(\n    representations: [\n        .coordinate(CLLocationCoordinate2D(latitude: 40.6892, longitude: -74.0445)),\n        .address(\"Liberty Island, New York, NY 10004, United States\")\n    ],\n    commonName: \"Statue of Liberty\"\n)\n\n\u002F\u002F From MKMapItem\nlet descriptor = PlaceDescriptor(item: mapItem)  \u002F\u002F Returns optional\n```\n\n### PlaceRepresentation\n\nEnum representing a place using common mapping concepts:\n\n| Case | Usage |\n|---|---|\n| `.coordinate(CLLocationCoordinate2D)` | Latitude\u002Flongitude |\n| `.address(String)` | Full address string |\n\nConvenience accessors on `PlaceDescriptor`:\n\n```swift\ndescriptor.coordinate  \u002F\u002F CLLocationCoordinate2D?\ndescriptor.address     \u002F\u002F String?\ndescriptor.commonName  \u002F\u002F String?\n```\n\n### SupportingPlaceRepresentation\n\nProprietary identifiers for places from different mapping services:\n\n```swift\nlet place = PlaceDescriptor(\n    representations: [.coordinate(CLLocationCoordinate2D(latitude: 51.5074, longitude: -0.1278))],\n    commonName: \"London Eye\",\n    supportingRepresentations: [\n        .serviceIdentifiers([\n            \"com.apple.maps\": \"AppleMapsID123\",\n            \"com.google.maps\": \"GoogleMapsID456\"\n        ])\n    ]\n)\n\n\u002F\u002F Retrieve a specific service identifier\nlet appleID = place.serviceIdentifier(for: \"com.apple.maps\")\n```\n\n### MKGeocodingRequest — Forward Geocoding\n\nConvert an address string to map items (address to coordinates):\n\n```swift\nguard let request = MKGeocodingRequest(addressString: \"1 Apple Park Way, Cupertino, CA\") else {\n    return\n}\nlet mapItems = try await request.mapItems\n```\n\n### MKReverseGeocodingRequest — Reverse Geocoding\n\nConvert coordinates to map items (coordinates to address):\n\n```swift\nlet location = CLLocation(latitude: 37.3349, longitude: -122.0090)\nguard let request = MKReverseGeocodingRequest(location: location) else {\n    return\n}\nlet mapItems = try await request.mapItems\n```\n\n### MKAddress\n\nStructured address type used when creating `MKMapItem` from a `PlaceDescriptor`:\n\n```swift\nif let coordinate = descriptor.coordinate {\n    let location = CLLocation(latitude: coordinate.latitude, longitude: coordinate.longitude)\n    let address = MKAddress()\n    let mapItem = MKMapItem(location: location, address: address)\n}\n```\n\n### Geocoding vs MKLocalSearch\n\n| Need | Use |\n|---|---|\n| Address string to coordinates | `MKGeocodingRequest` |\n| Coordinates to address | `MKReverseGeocodingRequest` |\n| Natural language place search | `MKLocalSearch` |\n| Autocomplete suggestions | `MKLocalSearchCompleter` |\n| Cross-service place identifiers | `PlaceDescriptor` with `SupportingPlaceRepresentation` |\n\n---\n\n## Resources\n\n**WWDC**: 2023-10043, 2024-10094\n\n**Docs**: \u002Fmapkit, \u002Fmapkit\u002Fmap, \u002Fmapkit\u002Fmklocalsearch, \u002Fmapkit\u002Fmkdirections, \u002Fgeotoolbox, \u002Fgeotoolbox\u002Fplacedescriptor, \u002Fmapkit\u002Fmkgeocodingrequest, \u002Fmapkit\u002Fmkreversegeocodingrequest, \u002Fmapkit\u002Fmkaddress\n\n**Skills**: mapkit, mapkit-diag, core-location-ref\n\n","# MapKit API Reference\n\nComplete MapKit API reference for iOS development. Covers both SwiftUI Map (iOS 17+) and MKMapView (UIKit).\n\n## Related Skills\n\n- `axiom-mapkit` — Decision trees, anti-patterns, pressure scenarios\n- `axiom-mapkit-diag` — Symptom-based troubleshooting\n\n---\n\n## Part 1: Modern API Overview\n\n| Feature | SwiftUI Map (iOS 17+) | MKMapView |\n|---|---|---|\n| Declaration | `Map(position:) { content }` | `MKMapView()` |\n| Camera control | `MapCameraPosition` binding | `setRegion(_:animated:)` |\n| Annotations | `Marker`, `Annotation` in content | `addAnnotation(_:)` + delegate |\n| Overlays | `MapCircle`, `MapPolyline`, `MapPolygon` | `addOverlay(_:)` + renderer delegate |\n| User location | `UserAnnotation()` | `showsUserLocation = true` |\n| Selection | `.mapSelection($selection)` | delegate `didSelect` |\n| Controls | `.mapControls { }` | `showsCompass`, `showsScale` |\n| Interaction modes | `.mapInteractionModes([])` | delegate methods |\n| Clustering | Built-in via `.mapItemClusteringIdentifier` | `MKClusterAnnotation` |\n\n---\n\n## Part 2: SwiftUI Map API\n\n### Basic Map\n\n```swift\n@State private var cameraPosition: MapCameraPosition = .automatic\n\nMap(position: $cameraPosition) {\n    Marker(\"Home\", coordinate: homeCoord)\n    Annotation(\"Custom\", coordinate: coord) {\n        Image(systemName: \"star.fill\")\n            .foregroundStyle(.yellow)\n            .padding(4)\n            .background(.blue, in: Circle())\n    }\n    UserAnnotation()\n    MapCircle(center: coord, radius: 500)\n        .foregroundStyle(.blue.opacity(0.3))\n    MapPolyline(coordinates: routeCoords)\n        .stroke(.blue, lineWidth: 3)\n}\n.mapStyle(.standard(elevation: .realistic))\n.mapControls {\n    MapUserLocationButton()\n    MapCompass()\n    MapScaleView()\n}\n```\n\n### MapCameraPosition\n\nControls where the camera is positioned:\n\n```swift\n\u002F\u002F System manages camera to show all content\n.automatic\n\n\u002F\u002F Specific region\n.region(MKCoordinateRegion(\n    center: CLLocationCoordinate2D(latitude: 37.7749, longitude: -122.4194),\n    span: MKCoordinateSpan(latitudeDelta: 0.05, longitudeDelta: 0.05)\n))\n\n\u002F\u002F Specific camera with pitch and heading\n.camera(MapCamera(\n    centerCoordinate: coordinate,\n    distance: 1000,    \u002F\u002F meters from center\n    heading: 90,       \u002F\u002F degrees from north\n    pitch: 60          \u002F\u002F degrees from vertical (0 = top-down)\n))\n\n\u002F\u002F Follow user location\n.userLocation(followsHeading: true, fallback: .automatic)\n\n\u002F\u002F Show specific item\n.item(mapItem)\n\n\u002F\u002F Show specific rect\n.rect(MKMapRect(...))\n```\n\n#### Programmatic Camera Changes\n\n```swift\n\u002F\u002F Animate to new position\nwithAnimation {\n    cameraPosition = .region(newRegion)\n}\n\n\u002F\u002F Keyframe animation (iOS 17+)\nMap(position: $cameraPosition)\n    .mapCameraKeyframeAnimator(trigger: flyToTrigger) { initialCamera in\n        KeyframeTrack(\\.centerCoordinate) {\n            LinearKeyframe(destination, duration: 2.0)\n        }\n        KeyframeTrack(\\.distance) {\n            CubicKeyframe(5000, duration: 1.0)\n            CubicKeyframe(1000, duration: 1.0)\n        }\n    }\n```\n\n### Map Selection\n\n```swift\n@State private var selectedItem: MKMapItem?\n\nMap(position: $cameraPosition, selection: $selectedItem) {\n    ForEach(mapItems, id: \\.self) { item in\n        Marker(item: item)\n    }\n}\n.onChange(of: selectedItem) { _, newItem in\n    if let newItem {\n        \u002F\u002F Handle selection\n    }\n}\n```\n\n### Camera Change Callback\n\n```swift\nMap(position: $cameraPosition) { ... }\n    .onMapCameraChange { context in\n        \u002F\u002F context.region — visible MKCoordinateRegion\n        \u002F\u002F context.camera — current MapCamera\n        \u002F\u002F context.rect — visible MKMapRect\n        fetchAnnotations(in: context.region)\n    }\n    .onMapCameraChange(frequency: .continuous) { context in\n        \u002F\u002F Called during gesture (not just at end)\n    }\n```\n\n### Map Styles\n\n```swift\n.mapStyle(.standard)                              \u002F\u002F Default\n.mapStyle(.standard(elevation: .realistic))        \u002F\u002F 3D buildings\n.mapStyle(.standard(emphasis: .muted))             \u002F\u002F Muted colors\n.mapStyle(.standard(pointsOfInterest: .including([.restaurant, .cafe])))\n.mapStyle(.imagery)                                \u002F\u002F Satellite\n.mapStyle(.imagery(elevation: .realistic))         \u002F\u002F 3D satellite\n.mapStyle(.hybrid)                                 \u002F\u002F Satellite + labels\n.mapStyle(.hybrid(elevation: .realistic))          \u002F\u002F 3D hybrid\n```\n\n### Interaction Modes\n\n```swift\n\u002F\u002F Allow all interactions (default)\n.mapInteractionModes(.all)\n\n\u002F\u002F Read-only map (no interaction)\n.mapInteractionModes([])\n\n\u002F\u002F Pan only, no zoom\n.mapInteractionModes([.pan])\n\n\u002F\u002F Pan and zoom, no rotate\u002Fpitch\n.mapInteractionModes([.pan, .zoom])\n```\n\n---\n\n## Part 3: Map Content\n\n### Marker\n\nSystem-styled map marker with callout:\n\n```swift\n\u002F\u002F Basic marker\nMarker(\"Coffee Shop\", coordinate: coord)\n\n\u002F\u002F With system image\nMarker(\"Coffee Shop\", systemImage: \"cup.and.saucer.fill\", coordinate: coord)\n\n\u002F\u002F With monogram (2 characters max)\nMarker(\"Coffee Shop\", monogram: Text(\"CS\"), coordinate: coord)\n\n\u002F\u002F Color\nMarker(\"Coffee Shop\", coordinate: coord)\n    .tint(.brown)\n\n\u002F\u002F From MKMapItem\nMarker(item: mapItem)\n```\n\n### Annotation\n\nFully custom view at a coordinate:\n\n```swift\nAnnotation(\"Custom Pin\", coordinate: coord) {\n    VStack {\n        Image(systemName: \"mappin.circle.fill\")\n            .font(.title)\n            .foregroundStyle(.red)\n        Text(\"Here\")\n            .font(.caption)\n    }\n}\n\n\u002F\u002F Anchor point (default is bottom center)\nAnnotation(\"Pin\", coordinate: coord, anchor: .center) {\n    Circle()\n        .fill(.blue)\n        .frame(width: 20, height: 20)\n}\n```\n\n### UserAnnotation\n\nCurrent user location indicator:\n\n```swift\nUserAnnotation()\n\n\u002F\u002F Custom appearance\nUserAnnotation(anchor: .center) {\n    Image(systemName: \"location.circle.fill\")\n        .foregroundStyle(.blue)\n}\n```\n\n### Shape Overlays\n\n```swift\n\u002F\u002F Circle\nMapCircle(center: coord, radius: 1000)  \u002F\u002F radius in meters\n    .foregroundStyle(.blue.opacity(0.2))\n    .stroke(.blue, lineWidth: 2)\n\n\u002F\u002F Polygon\nMapPolygon(coordinates: polygonCoords)\n    .foregroundStyle(.green.opacity(0.3))\n    .stroke(.green, lineWidth: 2)\n\n\u002F\u002F Polyline\nMapPolyline(coordinates: routeCoords)\n    .stroke(.blue, lineWidth: 4)\n\n\u002F\u002F From MKRoute\nMapPolyline(route.polyline)\n    .stroke(.blue, lineWidth: 5)\n```\n\n### Clustering\n\n```swift\nForEach(locations) { location in\n    Marker(location.name, coordinate: location.coordinate)\n        .tag(location.id)\n}\n.mapItemClusteringIdentifier(\"locations\")\n```\n\n---\n\n## Part 4: MKMapView Lifecycle and Delegates\n\n### Creating MKMapView in SwiftUI\n\n```swift\nstruct MapViewWrapper: UIViewRepresentable {\n    @Binding var region: MKCoordinateRegion\n    let annotations: [MKAnnotation]\n\n    func makeUIView(context: Context) -> MKMapView {\n        let mapView = MKMapView()\n        mapView.delegate = context.coordinator\n        mapView.showsUserLocation = true\n        mapView.register(\n            MKMarkerAnnotationView.self,\n            forAnnotationViewWithReuseIdentifier: \"marker\"\n        )\n        return mapView\n    }\n\n    func updateUIView(_ mapView: MKMapView, context: Context) {\n        \u002F\u002F Guard against infinite loops\n        if !regionsAreEqual(mapView.region, region) {\n            mapView.setRegion(region, animated: true)\n        }\n\n        \u002F\u002F Diff annotations instead of removing all\n        let current = Set(mapView.annotations.compactMap { $0 as? MyAnnotation })\n        let desired = Set(annotations.compactMap { $0 as? MyAnnotation })\n        let toAdd = desired.subtracting(current)\n        let toRemove = current.subtracting(desired)\n        mapView.addAnnotations(Array(toAdd))\n        mapView.removeAnnotations(Array(toRemove))\n    }\n\n    func makeCoordinator() -> Coordinator {\n        Coordinator(self)\n    }\n\n    static func dismantleUIView(_ mapView: MKMapView, coordinator: Coordinator) {\n        mapView.removeAnnotations(mapView.annotations)\n        mapView.removeOverlays(mapView.overlays)\n    }\n}\n```\n\n### Key MKMapViewDelegate Methods\n\n```swift\nclass Coordinator: NSObject, MKMapViewDelegate {\n    var parent: MapViewWrapper\n\n    init(_ parent: MapViewWrapper) {\n        self.parent = parent\n    }\n\n    \u002F\u002F Annotation view customization\n    func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {\n        guard !(annotation is MKUserLocation) else { return nil }  \u002F\u002F Use default for user\n\n        let view = mapView.dequeueReusableAnnotationView(\n            withIdentifier: \"marker\",\n            for: annotation\n        ) as! MKMarkerAnnotationView\n        view.markerTintColor = .systemRed\n        view.glyphImage = UIImage(systemName: \"mappin\")\n        view.clusteringIdentifier = \"poi\"\n        view.canShowCallout = true\n        return view\n    }\n\n    \u002F\u002F Overlay rendering\n    func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {\n        if let circle = overlay as? MKCircle {\n            let renderer = MKCircleRenderer(circle: circle)\n            renderer.fillColor = UIColor.systemBlue.withAlphaComponent(0.2)\n            renderer.strokeColor = .systemBlue\n            renderer.lineWidth = 2\n            return renderer\n        }\n        if let polyline = overlay as? MKPolyline {\n            let renderer = MKPolylineRenderer(polyline: polyline)\n            renderer.strokeColor = .systemBlue\n            renderer.lineWidth = 4\n            return renderer\n        }\n        if let polygon = overlay as? MKPolygon {\n            let renderer = MKPolygonRenderer(polygon: polygon)\n            renderer.fillColor = UIColor.systemGreen.withAlphaComponent(0.3)\n            renderer.strokeColor = .systemGreen\n            renderer.lineWidth = 2\n            return renderer\n        }\n        return MKOverlayRenderer(overlay: overlay)\n    }\n\n    \u002F\u002F Region change tracking\n    func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {\n        parent.region = mapView.region\n    }\n\n    \u002F\u002F Annotation selection\n    func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {\n        \u002F\u002F Handle tap\n    }\n\n    \u002F\u002F Cluster annotation\n    func mapView(\n        _ mapView: MKMapView,\n        clusterAnnotationForMemberAnnotations memberAnnotations: [MKAnnotation]\n    ) -> MKClusterAnnotation {\n        MKClusterAnnotation(memberAnnotations: memberAnnotations)\n    }\n}\n```\n\n---\n\n## Part 5: Annotation Types and Customization\n\n### MKMarkerAnnotationView (iOS 11+)\n\nBalloon-shaped marker with glyph:\n\n```swift\nlet view = MKMarkerAnnotationView(annotation: annotation, reuseIdentifier: \"marker\")\nview.markerTintColor = .systemPurple\nview.glyphImage = UIImage(systemName: \"star.fill\")\nview.glyphText = \"A\"                    \u002F\u002F Text glyph (overrides image)\nview.displayPriority = .required        \u002F\u002F Always visible\nview.clusteringIdentifier = \"category\"  \u002F\u002F Enable clustering\nview.canShowCallout = true\nview.titleVisibility = .adaptive        \u002F\u002F Show title based on space\nview.subtitleVisibility = .hidden\n```\n\n### MKAnnotationView\n\nFully custom annotation view:\n\n```swift\nlet view = MKAnnotationView(annotation: annotation, reuseIdentifier: \"custom\")\nview.image = UIImage(named: \"custom-pin\")\nview.centerOffset = CGPoint(x: 0, y: -view.image!.size.height \u002F 2)\nview.canShowCallout = true\nview.leftCalloutAccessoryView = UIImageView(image: thumbnail)\nview.rightCalloutAccessoryView = UIButton(type: .detailDisclosure)\n```\n\n### Custom Callout\n\n```swift\nfunc mapView(\n    _ mapView: MKMapView,\n    annotationView view: MKAnnotationView,\n    calloutAccessoryControlTapped control: UIControl\n) {\n    guard let annotation = view.annotation as? MyAnnotation else { return }\n    \u002F\u002F Navigate to detail view\n}\n```\n\n### Annotation View Reuse\n\nAlways use `dequeueReusableAnnotationView(withIdentifier:for:)`:\n\n```swift\n\u002F\u002F Register in makeUIView (once)\nmapView.register(MKMarkerAnnotationView.self, forAnnotationViewWithReuseIdentifier: \"marker\")\n\n\u002F\u002F Dequeue in delegate (every time)\nfunc mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {\n    let view = mapView.dequeueReusableAnnotationView(withIdentifier: \"marker\", for: annotation)\n    \u002F\u002F Configure...\n    return view\n}\n```\n\nWithout reuse: 1000 annotations = 1000 views in memory.\nWith reuse: ~20-30 views recycled as user scrolls.\n\n---\n\n## Part 6: MKLocalSearch and MKLocalSearchCompleter\n\n### MKLocalSearchCompleter — Real-Time Autocomplete\n\n```swift\nlet completer = MKLocalSearchCompleter()\ncompleter.delegate = self\ncompleter.resultTypes = [.pointOfInterest, .address]\ncompleter.region = visibleMapRegion    \u002F\u002F Bias results to visible area\n\n\u002F\u002F Update on each keystroke\ncompleter.queryFragment = \"coffee\"\n\n\u002F\u002F Delegate receives results\nfunc completerDidUpdateResults(_ completer: MKLocalSearchCompleter) {\n    let results = completer.results  \u002F\u002F [MKLocalSearchCompletion]\n    for result in results {\n        \u002F\u002F result.title — \"Starbucks\"\n        \u002F\u002F result.subtitle — \"123 Main St, San Francisco, CA\"\n        \u002F\u002F result.titleHighlightRanges — Ranges matching query\n    }\n}\n\nfunc completer(_ completer: MKLocalSearchCompleter, didFailWithError error: Error) {\n    \u002F\u002F Network error, rate limit, etc.\n}\n```\n\n### MKLocalSearch — Full Search\n\n```swift\n\u002F\u002F From autocomplete completion\nlet request = MKLocalSearch.Request(completion: selectedCompletion)\n\n\u002F\u002F From natural language\nlet request = MKLocalSearch.Request()\nrequest.naturalLanguageQuery = \"coffee shops\"\nrequest.region = mapRegion                        \u002F\u002F Bias results\nrequest.resultTypes = .pointOfInterest            \u002F\u002F Filter type\nrequest.pointOfInterestFilter = MKPointOfInterestFilter(\n    including: [.cafe, .restaurant]\n)\n\nlet search = MKLocalSearch(request: request)\nlet response = try await search.start()\n\nfor item in response.mapItems {\n    \u002F\u002F item.name — \"Starbucks\"\n    \u002F\u002F item.placemark — MKPlacemark with address\n    \u002F\u002F item.placemark.coordinate — CLLocationCoordinate2D\n    \u002F\u002F item.phoneNumber — optional phone\n    \u002F\u002F item.url — optional website\n    \u002F\u002F item.pointOfInterestCategory — .cafe, .restaurant, etc.\n}\n```\n\n### Result Types\n\n```swift\n\u002F\u002F Filter what kind of results to return\nrequest.resultTypes = .address           \u002F\u002F Street addresses only\nrequest.resultTypes = .pointOfInterest   \u002F\u002F Businesses, landmarks\nrequest.resultTypes = .physicalFeature   \u002F\u002F Mountains, lakes, parks\nrequest.resultTypes = .query             \u002F\u002F Suggested search queries (iOS 18+)\nrequest.resultTypes = [.pointOfInterest, .address]  \u002F\u002F Multiple types\n```\n\n### Rate Limiting\n\n- `MKLocalSearchCompleter` handles its own throttling — safe to call on every keystroke\n- `MKLocalSearch` — Apple rate-limits these; don't fire more than ~1\u002Fsecond\n- If rate-limited, you'll get an error in the completion handler\n- Reuse `MKLocalSearchCompleter` instances — don't create new ones per query\n\n---\n\n## Part 7: MKDirections and MKRoute\n\n### Calculate Directions\n\n```swift\nlet request = MKDirections.Request()\nrequest.source = MKMapItem.forCurrentLocation()\nrequest.destination = destinationMapItem\nrequest.transportType = .automobile\nrequest.requestsAlternateRoutes = true   \u002F\u002F Get multiple routes\n\nlet directions = MKDirections(request: request)\nlet response = try await directions.calculate()\n\nfor route in response.routes {\n    route.polyline                  \u002F\u002F MKPolyline — display on map\n    route.expectedTravelTime       \u002F\u002F TimeInterval in seconds\n    route.distance                 \u002F\u002F CLLocationDistance in meters\n    route.name                     \u002F\u002F \"I-280 S\" — route name\n    route.advisoryNotices          \u002F\u002F [String] — warnings\n    route.steps                    \u002F\u002F [MKRoute.Step] — turn-by-turn\n}\n```\n\n### Transport Types\n\n```swift\n.automobile    \u002F\u002F Driving directions\n.walking       \u002F\u002F Pedestrian directions\n.transit       \u002F\u002F Public transit (where available)\n.any           \u002F\u002F All modes\n```\n\n### ETA Only (Faster)\n\n```swift\nlet directions = MKDirections(request: request)\nlet eta = try await directions.calculateETA()\neta.expectedTravelTime     \u002F\u002F TimeInterval\neta.distance               \u002F\u002F CLLocationDistance\neta.expectedArrivalDate    \u002F\u002F Date\neta.expectedDepartureDate  \u002F\u002F Date\neta.transportType          \u002F\u002F MKDirectionsTransportType\n```\n\n### Turn-by-Turn Steps\n\n```swift\nfor step in route.steps {\n    step.instructions    \u002F\u002F \"Turn right onto Main St\"\n    step.distance        \u002F\u002F CLLocationDistance in meters\n    step.polyline        \u002F\u002F MKPolyline for this step's segment\n    step.transportType   \u002F\u002F May change for transit routes\n    step.notice          \u002F\u002F Optional advisory\n}\n```\n\n---\n\n## Part 8: Look Around\n\n### Check Availability\n\n```swift\nlet request = MKLookAroundSceneRequest(coordinate: coordinate)\ndo {\n    let scene = try await request.scene\n    \u002F\u002F scene is non-nil — Look Around available at this coordinate\n} catch {\n    \u002F\u002F Look Around not available here\n}\n```\n\n### SwiftUI\n\n```swift\n@State private var lookAroundScene: MKLookAroundScene?\n\nLookAroundPreview(scene: $lookAroundScene)\n    .frame(height: 200)\n\n\u002F\u002F Load scene\nfunc loadLookAround(for coordinate: CLLocationCoordinate2D) async {\n    let request = MKLookAroundSceneRequest(coordinate: coordinate)\n    lookAroundScene = try? await request.scene\n}\n```\n\n### UIKit\n\n```swift\nlet controller = MKLookAroundViewController(scene: scene)\n\u002F\u002F Present modally or embed as child view controller\n```\n\n### Static Snapshot\n\n```swift\nlet snapshotter = MKLookAroundSnapshotter(scene: scene, options: .init())\nlet snapshot = try await snapshotter.snapshot\nlet image = snapshot.image  \u002F\u002F UIImage\n```\n\n---\n\n## Part 9: Overlays and Renderers\n\n### Adding Overlays (MKMapView)\n\n```swift\n\u002F\u002F Circle\nlet circle = MKCircle(center: coordinate, radius: 1000)\nmapView.addOverlay(circle)\n\n\u002F\u002F Polygon\nlet polygon = MKPolygon(coordinates: &coords, count: coords.count)\nmapView.addOverlay(polygon)\n\n\u002F\u002F Polyline\nlet polyline = MKPolyline(coordinates: &coords, count: coords.count)\nmapView.addOverlay(polyline, level: .aboveRoads)\n\n\u002F\u002F Custom tile overlay\nlet template = \"https:\u002F\u002Ftile.example.com\u002F{z}\u002F{x}\u002F{y}.png\"\nlet tileOverlay = MKTileOverlay(urlTemplate: template)\ntileOverlay.canReplaceMapContent = true  \u002F\u002F Hides Apple Maps base layer\nmapView.addOverlay(tileOverlay, level: .aboveLabels)\n```\n\n### Renderer Delegate\n\n```swift\nfunc mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {\n    switch overlay {\n    case let circle as MKCircle:\n        let renderer = MKCircleRenderer(circle: circle)\n        renderer.fillColor = UIColor.systemBlue.withAlphaComponent(0.2)\n        renderer.strokeColor = .systemBlue\n        renderer.lineWidth = 2\n        return renderer\n\n    case let polyline as MKPolyline:\n        let renderer = MKPolylineRenderer(polyline: polyline)\n        renderer.strokeColor = .systemBlue\n        renderer.lineWidth = 4\n        return renderer\n\n    case let polygon as MKPolygon:\n        let renderer = MKPolygonRenderer(polygon: polygon)\n        renderer.fillColor = UIColor.systemGreen.withAlphaComponent(0.3)\n        renderer.strokeColor = .systemGreen\n        renderer.lineWidth = 2\n        return renderer\n\n    case let tile as MKTileOverlay:\n        return MKTileOverlayRenderer(tileOverlay: tile)\n\n    default:\n        return MKOverlayRenderer(overlay: overlay)\n    }\n}\n```\n\n### Overlay Levels\n\n```swift\nmapView.addOverlay(overlay, level: .aboveRoads)    \u002F\u002F Above roads, below labels\nmapView.addOverlay(overlay, level: .aboveLabels)   \u002F\u002F Above everything\n```\n\n### Gradient Polyline\n\n```swift\nlet renderer = MKGradientPolylineRenderer(polyline: polyline)\nrenderer.setColors([.green, .yellow, .red], locations: [0.0, 0.5, 1.0])\nrenderer.lineWidth = 6\n```\n\n---\n\n## Part 10: Map Snapshots\n\nGenerate static map images for sharing, thumbnails, or offline display:\n\n```swift\nlet options = MKMapSnapshotter.Options()\noptions.region = MKCoordinateRegion(\n    center: coordinate,\n    span: MKCoordinateSpan(latitudeDelta: 0.01, longitudeDelta: 0.01)\n)\noptions.size = CGSize(width: 300, height: 200)\noptions.scale = UIScreen.main.scale           \u002F\u002F Retina support\noptions.mapType = .standard\noptions.showsBuildings = true\noptions.pointOfInterestFilter = .excludingAll  \u002F\u002F Clean map\n\nlet snapshotter = MKMapSnapshotter(options: options)\nlet snapshot = try await snapshotter.start()\nlet image = snapshot.image\n\n\u002F\u002F Draw custom annotations on snapshot\nUIGraphicsBeginImageContextWithOptions(image.size, true, image.scale)\nimage.draw(at: .zero)\n\nlet pinImage = UIImage(systemName: \"mappin.circle.fill\")!\nlet point = snapshot.point(for: coordinate)\npinImage.draw(at: CGPoint(\n    x: point.x - pinImage.size.width \u002F 2,\n    y: point.y - pinImage.size.height\n))\n\nlet finalImage = UIGraphicsGetImageFromCurrentImageContext()\nUIGraphicsEndImageContext()\n```\n\n#### Snapshot Coordinate Conversion\n\n```swift\n\u002F\u002F Convert coordinate to point in snapshot image\nlet point = snapshot.point(for: coordinate)\n\n\u002F\u002F Check if coordinate is in snapshot bounds\nlet isVisible = CGRect(origin: .zero, size: snapshot.image.size).contains(point)\n```\n\n---\n\n## Part 11: iOS Version Feature Matrix\n\n| Feature | iOS Version |\n|---|---|\n| MKMapView | 3.0+ |\n| MKLocalSearch | 6.1+ |\n| MKDirections | 7.0+ |\n| MKMarkerAnnotationView | 11.0+ |\n| MKMapSnapshotter | 7.0+ |\n| MKLookAroundSceneRequest | 16.0+ |\n| LookAroundPreview (SwiftUI) | 17.0+ |\n| SwiftUI Map (content builder) | 17.0+ |\n| MapCameraPosition | 17.0+ |\n| .mapSelection | 17.0+ |\n| .mapCameraKeyframeAnimator | 17.0+ |\n| .onMapCameraChange | 17.0+ |\n| MapUserLocationButton | 17.0+ |\n| MapCompass | 17.0+ |\n| MapScaleView | 17.0+ |\n| .mapInteractionModes | 17.0+ |\n| MKLocalSearch.ResultType.query | 18.0+ |\n| GeoToolbox \u002F PlaceDescriptor | 26.0+ |\n| MKGeocodingRequest | 26.0+ |\n| MKReverseGeocodingRequest | 26.0+ |\n| MKAddress | 26.0+ |\n\n---\n\n## Part 12: GeoToolbox and Geocoding\n\n### GeoToolbox Framework\n\n`GeoToolbox` provides `PlaceDescriptor` — a standardized representation of physical locations that works across MapKit and third-party mapping services.\n\n```swift\nimport GeoToolbox\n\n\u002F\u002F From address\nlet fountain = PlaceDescriptor(\n    representations: [.address(\"121-122 James's St \\n Dublin 8 \\n D08 ET27 \\n Ireland\")],\n    commonName: \"Obelisk Fountain\"\n)\n\n\u002F\u002F From coordinates\nlet tower = PlaceDescriptor(\n    representations: [.coordinate(CLLocationCoordinate2D(latitude: 48.8584, longitude: 2.2945))],\n    commonName: \"Eiffel Tower\"\n)\n\n\u002F\u002F Multiple representations\nlet statue = PlaceDescriptor(\n    representations: [\n        .coordinate(CLLocationCoordinate2D(latitude: 40.6892, longitude: -74.0445)),\n        .address(\"Liberty Island, New York, NY 10004, United States\")\n    ],\n    commonName: \"Statue of Liberty\"\n)\n\n\u002F\u002F From MKMapItem\nlet descriptor = PlaceDescriptor(item: mapItem)  \u002F\u002F Returns optional\n```\n\n### PlaceRepresentation\n\nEnum representing a place using common mapping concepts:\n\n| Case | Usage |\n|---|---|\n| `.coordinate(CLLocationCoordinate2D)` | Latitude\u002Flongitude |\n| `.address(String)` | Full address string |\n\nConvenience accessors on `PlaceDescriptor`:\n\n```swift\ndescriptor.coordinate  \u002F\u002F CLLocationCoordinate2D?\ndescriptor.address     \u002F\u002F String?\ndescriptor.commonName  \u002F\u002F String?\n```\n\n### SupportingPlaceRepresentation\n\nProprietary identifiers for places from different mapping services:\n\n```swift\nlet place = PlaceDescriptor(\n    representations: [.coordinate(CLLocationCoordinate2D(latitude: 51.5074, longitude: -0.1278))],\n    commonName: \"London Eye\",\n    supportingRepresentations: [\n        .serviceIdentifiers([\n            \"com.apple.maps\": \"AppleMapsID123\",\n            \"com.google.maps\": \"GoogleMapsID456\"\n        ])\n    ]\n)\n\n\u002F\u002F Retrieve a specific service identifier\nlet appleID = place.serviceIdentifier(for: \"com.apple.maps\")\n```\n\n### MKGeocodingRequest — Forward Geocoding\n\nConvert an address string to map items (address to coordinates):\n\n```swift\nguard let request = MKGeocodingRequest(addressString: \"1 Apple Park Way, Cupertino, CA\") else {\n    return\n}\nlet mapItems = try await request.mapItems\n```\n\n### MKReverseGeocodingRequest — Reverse Geocoding\n\nConvert coordinates to map items (coordinates to address):\n\n```swift\nlet location = CLLocation(latitude: 37.3349, longitude: -122.0090)\nguard let request = MKReverseGeocodingRequest(location: location) else {\n    return\n}\nlet mapItems = try await request.mapItems\n```\n\n### MKAddress\n\nStructured address type used when creating `MKMapItem` from a `PlaceDescriptor`:\n\n```swift\nif let coordinate = descriptor.coordinate {\n    let location = CLLocation(latitude: coordinate.latitude, longitude: coordinate.longitude)\n    let address = MKAddress()\n    let mapItem = MKMapItem(location: location, address: address)\n}\n```\n\n### Geocoding vs MKLocalSearch\n\n| Need | Use |\n|---|---|\n| Address string to coordinates | `MKGeocodingRequest` |\n| Coordinates to address | `MKReverseGeocodingRequest` |\n| Natural language place search | `MKLocalSearch` |\n| Autocomplete suggestions | `MKLocalSearchCompleter` |\n| Cross-service place identifiers | `PlaceDescriptor` with `SupportingPlaceRepresentation` |\n\n---\n\n## Resources\n\n**WWDC**: 2023-10043, 2024-10094\n\n**Docs**: \u002Fmapkit, \u002Fmapkit\u002Fmap, \u002Fmapkit\u002Fmklocalsearch, \u002Fmapkit\u002Fmkdirections, \u002Fgeotoolbox, \u002Fgeotoolbox\u002Fplacedescriptor, \u002Fmapkit\u002Fmkgeocodingrequest, \u002Fmapkit\u002Fmkreversegeocodingrequest, \u002Fmapkit\u002Fmkaddress\n\n**Skills**: mapkit, mapkit-diag, core-location-ref\n\n",{"name":5,"license":15,"metadata":33,"description":7},{"version":34,"last-updated":35},"1.0.0","2026-02-26","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FCharlesWiltgen\u002FAxiom\u002Faxiom-mapkit-ref",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill axiom-mapkit-ref",{"tool":51,"command":52},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill axiom-mapkit-ref",{"tool":54,"command":55},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill axiom-mapkit-ref","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FCharlesWiltgen\u002FAxiom\u002Faxiom-mapkit-ref\u002FSKILL.md",true,[59,65,69,73,77,81,85,89],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"research.template.md","REFERENCE","参考文档",581,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.augment\u002Fskills\u002Fbmad-market-research\u002Fresearch.template.md",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"steps\u002Fstep-01-init.md",6422,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.augment\u002Fskills\u002Fbmad-market-research\u002Fsteps\u002Fstep-01-init.md",{"path":70,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":71,"sourceHtmlUrl":72},"steps\u002Fstep-02-customer-behavior.md",9265,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.augment\u002Fskills\u002Fbmad-market-research\u002Fsteps\u002Fstep-02-customer-behavior.md",{"path":74,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":75,"sourceHtmlUrl":76},"steps\u002Fstep-03-customer-pain-points.md",9581,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.augment\u002Fskills\u002Fbmad-market-research\u002Fsteps\u002Fstep-03-customer-pain-points.md",{"path":78,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":79,"sourceHtmlUrl":80},"steps\u002Fstep-04-customer-decisions.md",10020,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.augment\u002Fskills\u002Fbmad-market-research\u002Fsteps\u002Fstep-04-customer-decisions.md",{"path":82,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":83,"sourceHtmlUrl":84},"steps\u002Fstep-05-competitive-analysis.md",5756,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.augment\u002Fskills\u002Fbmad-market-research\u002Fsteps\u002Fstep-05-competitive-analysis.md",{"path":86,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":87,"sourceHtmlUrl":88},"steps\u002Fstep-06-research-completion.md",19146,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.augment\u002Fskills\u002Fbmad-market-research\u002Fsteps\u002Fstep-06-research-completion.md",{"path":90,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":91,"sourceHtmlUrl":92},"workflow.md",2348,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.augment\u002Fskills\u002Fbmad-market-research\u002Fworkflow.md",[94,103,112,121,127,133],{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":28},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[100,101,102],"model","model hierarchy","model hierarchy skill",{"skillNo":104,"name":105,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":28},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[109,110,111],"MCP","zoom","zoom mcp",{"skillNo":113,"name":114,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":28},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[118,119,120,110],"sdk","zoom apps sdk","apps",{"skillNo":122,"name":123,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":28},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[123],{"skillNo":128,"name":129,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":28},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[129],{"skillNo":134,"name":135,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":28},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[135]]