icerockdev / moko-maps

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

Zoom Addition #3

Closed Limonlol closed 4 years ago

Limonlol commented 4 years ago

Need: Current map zoom, set max and min zoom

Alex009 commented 4 years ago

will be available in 0.2.0 via:

suspend fun getCurrentZoom(): Float
suspend fun setCurrentZoom(zoom: Float)

suspend fun getZoomConfig(): ZoomConfig
suspend fun setZoomConfig(config: ZoomConfig)

data class ZoomConfig(
    val min: Float? = null,
    val max: Float? = null
)
Alex009 commented 4 years ago

released in 0.2.0