GroundOverlay

constructor(image: BitmapDescriptor, position: LatLng? = null, width: Float? = null, height: Float? = null, bounds: LatLngBounds? = null, anchor: Pair<Float, Float> = Pair(0.5f, 0.5f), bearing: Float = 0.0f, transparency: Float = 0.0f, visible: Boolean = true, zIndex: Float = 0.0f, clickable: Boolean = false, tag: Any? = null)(source)

Parameters

image

The image to draw

position

The location of the anchor, used with width; null when placed by bounds

width

The width in meters, used with position

height

The height in meters; null keeps the image's aspect ratio

bounds

The area the image is stretched over; null when placed by position

anchor

The point of the image at position, from (0, 0) top left to (1, 1) bottom right

bearing

The clockwise rotation in degrees around the anchor

transparency

From 0 (opaque) to 1 (invisible)

visible

Whether the overlay is drawn

zIndex

Draw order: overlays with a higher zIndex are drawn on top

clickable

Whether a tap on the overlay is reported to its click listener

tag

Optional user data