-
public final class MarkerStateA state object that can be hoisted to control and observe the marker state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMarkerState.Companion
-
Constructor Summary
Constructors Constructor Description MarkerState(LatLng position)
-
Method Summary
Modifier and Type Method Description final LatLnggetPosition()Current position of the marker. final UnitsetPosition(LatLng position)Current position of the marker. final DragStategetDragState()Current DragState of the marker. final UnitsetDragState(DragState dragState)final UnitshowInfoWindow()Shows the info window for the underlying marker final UnithideInfoWindow()Hides the info window for the underlying marker -
-
Method Detail
-
getPosition
final LatLng getPosition()
Current position of the marker.
-
setPosition
final Unit setPosition(LatLng position)
Current position of the marker.
-
getDragState
final DragState getDragState()
Current DragState of the marker.
-
setDragState
final Unit setDragState(DragState dragState)
-
showInfoWindow
final Unit showInfoWindow()
Shows the info window for the underlying marker
-
hideInfoWindow
final Unit hideInfoWindow()
Hides the info window for the underlying marker
-
-
-
-