MapState

The MapState that can be hoisted to observe map events, query rendered features and control gestures settings.

Constructors

Link copied to clipboard
fun MapState()

Constructor for the MapState.

Types

Link copied to clipboard
object Companion

Public companion object of MapState.

Link copied to clipboard
data class Holder(val savedProperties: Map<String, Parcelable>) : Parcelable

MapState Holder class to be used within Saver.

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun pixelForCoordinate(coordinate: Point): ScreenCoordinate

Calculate a screen coordinate that corresponds to a geographical coordinate (i.e., longitude-latitude pair).

Link copied to clipboard

Queries the map for rendered features.

Properties

Link copied to clipboard

Gesture configuration allows to control the user touch interaction.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard