public interface Marker extends Annotation
| Modifier and Type | Method and Description |
|---|---|
boolean |
canShowBalloon() |
void |
canShowBalloon(boolean allow)
Setter for permission to show balloon
|
void |
deselect()
Mark the marker as a deselected
|
MarkerAnchor |
getAnchor() |
int |
getIconHeight() |
int |
getIconWidth() |
Optional<? extends MarkerBalloon> |
getMarkerBalloon() |
LatLng |
getPosition()
Position of the marker.
|
boolean |
isDecal()
Is marker is attached to the map.
|
boolean |
isDraggable() |
boolean |
isSelected()
Marker is marked as a selected
|
void |
markAsDraggable() |
void |
select()
Mark the marker as a selected
|
void |
setSelectedListener(OnMarkerSelectedListener selectedListener)
Set behavior for selected marker
|
boolean |
shouldCluster()
Indicates whether marker should clustered or not.
|
void |
unmarkAsDraggable() |
getId, getTag@NonNull LatLng getPosition()
boolean isSelected()
void select()
void deselect()
Optional<? extends MarkerBalloon> getMarkerBalloon()
int getIconWidth()
int getIconHeight()
MarkerAnchor getAnchor()
boolean canShowBalloon()
void canShowBalloon(boolean allow)
allow - showing balloonvoid setSelectedListener(OnMarkerSelectedListener selectedListener)
selectedListener - boolean isDecal()
boolean shouldCluster()
@Beta(year=2018,
month=10)
boolean isDraggable()
@Beta(year=2018,
month=10)
void markAsDraggable()
@Beta(year=2018,
month=10)
void unmarkAsDraggable()