BpkIconMapMarker

fun BpkIconMapMarker(contentDescription: String, icon: BpkIcon, status: BpkIconMarkerStatus = BpkIconMarkerStatus.Default, state: MarkerState = rememberMarkerState(), tag: Any? = null, visible: Boolean = true, zIndex: Float? = null, onClick: (Marker) -> Boolean = { false })

Deprecated

Use BpkPoiMapMarker instead.

Replace with

BpkPoiMapMarker

Parameters

onClick

Callback invoked when the marker is clicked. Return true to consume the event, for example to disable the default centre map on marker behaviour.