MapOptions
fun MapOptions(mapKey: String, cameraOptions: CameraOptions? = null, padding: Padding = Padding(), mapStyle: StyleDescriptor? = null, styleMode: StyleMode = StyleMode.MAIN, onlineCachePolicy: OnlineCachePolicy = OnlineCachePolicy.Default, renderToTexture: Boolean = false)
Parameters
mapKey
Provides Maps API key.
cameraOptions
Provides CameraOptions associated with the current MapOptions.
padding
Provides Padding of the map view. By default, padding is set to 0 for all sides.
mapStyle
Provides custom StyleDescriptor with style that will be used as initial style.
styleMode
Defines StyleMode that will be used during the initialization.
onlineCachePolicy
Defines OnlineCachePolicy that will be used for the HTTP caching.