MapOptions
data class MapOptions @JvmOverloads constructor(val mapKey: String, val cameraOptions: CameraOptions? = null, val padding: Padding = Padding(), val mapStyle: StyleDescriptor? = null, val styleMode: StyleMode = StyleMode.MAIN, val onlineCachePolicy: OnlineCachePolicy = OnlineCachePolicy.Default, val renderToTexture: Boolean = false) : Parcelable
Configures the map options.
Constructors
Link copied to clipboard
constructor(mapKey: String, cameraOptions: CameraOptions? = null, padding: Padding = Padding(), mapStyle: StyleDescriptor? = null, styleMode: StyleMode = StyleMode.MAIN, onlineCachePolicy: OnlineCachePolicy = OnlineCachePolicy.Default, renderToTexture: Boolean = false)
Properties
Link copied to clipboard
Provides CameraOptions associated with the current MapOptions.
Link copied to clipboard
Provides custom StyleDescriptor with style that will be used as initial style.
Link copied to clipboard
Defines OnlineCachePolicy that will be used for the HTTP caching.
Link copied to clipboard
If set to true render to texture view rather than surface view.