icerockdev / moko-maps

Control your map from common code for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
84 stars 16 forks source link

Select marker #5

Closed Limonlol closed 4 years ago

Limonlol commented 4 years ago

Need callback for select marker Id for marker, and pass it in callback for select

Alex009 commented 4 years ago

will be available in 0.2.0 via:

suspend fun addMarker(
    image: ImageResource, 
    latLng: LatLng, 
    rotation: kotlin.Float, 
    onClick: (() -> kotlin.Unit)?
): dev.icerock.moko.maps.Marker
Alex009 commented 4 years ago

released in 0.2.0