MarkerState

A state object that can be hoisted to control and observe the marker state.

This cannot be used to preserve marker info window visibility across configuration changes.

Parameters

position

the initial marker position

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Current DragState of the marker.

Link copied to clipboard

Reflects whether the end user is currently dragging the marker. Dragging can happen only if a Marker is draggable.

Link copied to clipboard
var position: LatLng

Current position of the marker.

Functions

Link copied to clipboard

Hides the info window for the underlying marker.

Link copied to clipboard

Shows the info window for the underlying marker.