Package-level declarations
Types
Link copied to clipboard
class MarkerEntry(val markerId: MarkerId = MarkerId(), data: MarkerData, properties: MarkerProperties, isVisible: Boolean = true)
The data of a single marker used by the Markers Composable.
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP] )
Link copied to clipboard
Base class for all TomTomMap nodes. Each node configures a part of the map view.
Link copied to clipboard
Context of TomTomMapNodes.
Functions
Link copied to clipboard
fun CurrentLocationMarker(properties: CurrentLocationMarkerProperties = CurrentLocationMarkerProperties(), state: CurrentLocationMarkerState = rememberCurrentLocationMarkerState(), onClick: (Offset, GeoPoint) -> Unit = { _, _ -> })
Displays a location marker on the map view.
Link copied to clipboard
Logo of the map view.
Link copied to clipboard
fun Marker(data: MarkerData, properties: MarkerProperties, state: MarkerState = rememberMarkerState(), isVisible: Boolean = true, onClick: () -> Unit = { }, onLongClick: () -> Unit = { })
Displays a marker on the map view.
Link copied to clipboard
fun Markers(markers: List<MarkerEntry>, state: MarkersState = rememberMarkersState(), onClick: (MarkerId) -> Unit = { })
Displays a collection of markers on the map (without composition overhead).
Link copied to clipboard
fun Polyline(data: PolylineData, properties: PolylineProperties = PolylineProperties(), state: PolylineState = rememberPolylineState(), isVisible: Boolean = true, onClick: () -> Unit = { })
Displays a polyline on the map view.
Link copied to clipboard
fun Traffic(state: TrafficState = rememberTrafficState(), onTrafficIncidentClick: (trafficIncidents: List<TrafficIncident>, geoPoint: GeoPoint) -> Unit = { _, _ -> })
Controls the (off-route) traffic information shown on the map.