Package-level declarations

Types

Link copied to clipboard
@Stable
class CameraState

The state of the camera of the map view.

Link copied to clipboard
@Stable
class CopyrightsState

The Copyrights state of the map view.

Link copied to clipboard

State of the CurrentLocationMarker Composable.

Link copied to clipboard
@Stable
class GesturesState

The vehicle restriction state of the map view.

Link copied to clipboard
@Stable
class LocationState

The state of the location of the map view.

Link copied to clipboard
@Stable
class LogoState

State of the Logo Composable.

Link copied to clipboard
@Stable
class MapStyleState

The styling of the map view.

Link copied to clipboard
@Stable
class MapViewState

The state of TomTomMap composable.

Link copied to clipboard
@Stable
class MarkersState

State of the Markers Composable.

Link copied to clipboard
@Stable
class MarkerState

State of the Marker Composable.

Link copied to clipboard
@Stable
class PolylineState

The UI element state of the Polyline Composable.

Link copied to clipboard

The rendered feature state of the map view.

Link copied to clipboard
@Stable
class TrafficState

State of the Traffic Composable.

Functions

Link copied to clipboard
@Composable
fun rememberLogoState(margin: PaddingValues = PaddingValues(), visibilityPolicy: LogoView.VisibilityPolicy = LogoView.VisibilityPolicy.Visible): LogoState

Remembers and returns the LogoState. The same state is returned as long as all parameter values are the same. If any parameter value changes, a new state instance is returned.

Link copied to clipboard
@Composable
fun rememberMapViewState(key: String? = null, initialCameraOptions: InitialCameraOptions, initialStyle: StyleDescriptor = StandardStyles.TomTomOrbisMaps.BROWSING, renderToTextureView: Boolean = false, init: MapViewState.() -> Unit = {}): MapViewState

Remembers and returns the MapViewState. The state is remembered across recompositions.

Link copied to clipboard

Remembers and returns the MarkersState.

Link copied to clipboard

Remembers and returns the MarkerState.

Link copied to clipboard

Remembers and returns the PolylineState.

Link copied to clipboard
@Composable
fun rememberTrafficState(showTrafficFlow: Boolean = true, showTrafficIncidents: Boolean = true): TrafficState

Remembers and returns the TrafficState. The same state is returned as long as all parameter values are the same. If any parameter value changes, a new state instance is returned.