public interface Marker extends Annotation, MapPoint
Modifier and Type | Method and Description |
---|---|
boolean |
canShowBalloon() |
void |
canShowBalloon(boolean allow)
A setter for permission to show a balloon.
|
void |
deselect()
Marks the marker as deselected.
|
MarkerAnchor |
getAnchor() |
int |
getIconHeight() |
int |
getIconWidth() |
Optional<? extends MarkerBalloon> |
getMarkerBalloon() |
boolean |
isDecal()
Determines if the marker attached to the map.
|
boolean |
isDraggable()
Indicates whether the marker should be draggable or not.
|
boolean |
isSelected()
Marks the marker as selected.
|
void |
markAsDraggable()
Makes the marker draggable.
|
void |
select()
Marks the marker as selected.
|
void |
setSelectedListener(OnMarkerSelectedListener selectedListener)
The set behavior for the selected marker.
|
boolean |
shouldCluster()
Indicates whether the marker should be clustered or not.
|
void |
unmarkAsDraggable()
Makes the marker not draggable.
|
getId, getTag
getPosition
boolean isSelected()
void select()
void deselect()
@NonNull Optional<? extends MarkerBalloon> getMarkerBalloon()
int getIconWidth()
int getIconHeight()
@NonNull MarkerAnchor getAnchor()
boolean canShowBalloon()
void canShowBalloon(boolean allow)
Allow
- showing a balloon.void setSelectedListener(OnMarkerSelectedListener selectedListener)
selectedListener.
- boolean isDecal()
boolean shouldCluster()
boolean isDraggable()
void markAsDraggable()
void unmarkAsDraggable()