Skip to content

Apple map#530

Merged
phansier merged 4 commits into
developfrom
apple-map
May 17, 2026
Merged

Apple map#530
phansier merged 4 commits into
developfrom
apple-map

Conversation

@phansier
Copy link
Copy Markdown
Owner

Closes #427

phansier added 4 commits May 17, 2026 11:12
Wraps Apple's native MKMapView in a Compose Multiplatform UIKitView and
mirrors the Android map features: coffee-shop markers, zoom-driven expand
state, marker click highlighting, and a fit-all-markers button.

Markers are rendered as Compose composables, captured into a graphics
layer, converted to UIImage via CGBitmapContext, and attached to
MKAnnotationView instances managed through a Kotlin MKMapViewDelegate.

MapMarker is moved to commonMain; boxShadow becomes expect/actual with
the Android implementation kept as-is and other targets falling back to
a no-op (markers still get their rounded background).

Approach adapted from https://github.com/apolacsek/kmp-compose-mapkit
@phansier phansier merged commit d767fa0 into develop May 17, 2026
4 checks passed
@phansier
Copy link
Copy Markdown
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use some multiplatform map

1 participant