GroundOverlay

fun GroundOverlay(position: GroundOverlayPosition, image: BitmapDescriptor, anchor: Offset = Offset(0.5f, 0.5f), bearing: Float = 0.0f, clickable: Boolean = false, tag: Any? = null, transparency: Float = 0.0f, visible: Boolean = true, zIndex: Float = 0.0f, onClick: (GroundOverlay) -> Unit = {})

A composable for a ground overlay on the map.

Parameters

position

the position of the ground overlay

image

the image of the ground overlay

anchor

the anchor of the ground overlay

bearing

the bearing of the ground overlay in degrees clockwise from north

clickable

boolean indicating if the ground overlay is clickable or not

tag

optional tag to associate with the ground overlay

transparency

the transparency of the ground overlay

visible

the visibility of the ground overlay

zIndex

the z-index of the ground overlay

onClick

a lambda invoked when the ground overlay is clicked