interface Marker : Annotation, MapPoint
Base interface defining marker that can be added to the map.
abstract fun canShowBalloon(): Boolean abstract fun canShowBalloon(allow: Boolean): Unit
A setter for permission to show a balloon. |
|
abstract fun deselect(): Unit
Marks the marker as deselected. |
|
abstract fun getAnchor(): MarkerAnchor |
|
abstract fun getIconHeight(): Int |
|
abstract fun getIconWidth(): Int |
|
abstract fun getMarkerBalloon(): Optional<out MarkerBalloon!> |
|
abstract fun isDecal(): Boolean
Determines if the marker attached to the map. |
|
abstract fun isDraggable(): Boolean
Indicates whether the marker should be draggable or not. |
|
abstract fun isSelected(): Boolean
Marks the marker as selected. |
|
abstract fun markAsDraggable(): Unit
Makes the marker draggable. |
|
abstract fun select(): Unit
Marks the marker as selected. |
|
abstract fun setSelectedListener(selectedListener: OnMarkerSelectedListener!): Unit
The set behavior for the selected marker. |
|
abstract fun shouldCluster(): Boolean
Indicates whether the marker should be clustered or not. If not, the marker will be skipped from the clustering procedure when it is enabled. |
|
abstract fun unmarkAsDraggable(): Unit
Makes the marker not draggable. |
abstract fun getId(): Long
Gets the annotation Id. It is generated automatically when the annotation is added to the map. |
|
abstract fun getPosition(): LatLng
The position of the point on map. |
|
abstract fun getTag(): Any?
Gets the annotation tag. It can be used for filtering, e.g., to remove the annotation of a certain tag. Default value is set to null. |