ComposeMapInitOptions

data class ComposeMapInitOptions(val mapOptions: MapOptions, val textureView: Boolean = false, val antialiasingSampleCount: Int = DEFAULT_ANTIALIASING_SAMPLE_COUNT, val mapName: String = "")

Defines configuration ComposeMapInitOptions for a MapboxMap composable function.

Constructors

Link copied to clipboard
fun ComposeMapInitOptions(pixelRatio: Float, textureView: Boolean = false, antialiasingSampleCount: Int = DEFAULT_ANTIALIASING_SAMPLE_COUNT, mapName: String = "")
Link copied to clipboard
fun ComposeMapInitOptions(mapOptions: MapOptions, textureView: Boolean = false, antialiasingSampleCount: Int = DEFAULT_ANTIALIASING_SAMPLE_COUNT, mapName: String = "")

Types

Link copied to clipboard
object Companion

Companion object.

Properties

Link copied to clipboard

Sample count to control multisample anti-aliasing (MSAA) option for rendering. E.g. passing 4 enables MSAA x4 if it is supported. Default is 1 (MSAA turned off).

Link copied to clipboard

Custom name which will be appended to map render related logs. May be useful when using several MapViews. Defaults to an empty string.

Link copied to clipboard

Describes the map options value when using a MapView.

Link copied to clipboard
val textureView: Boolean = false

Flag indicating to use a TextureView as render surface for the MapView. Default is false.