public interface Marker
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCaption() |
MarkerImage |
getIcon() |
java.lang.String |
getIconUrl() |
GeoPoint |
getPosition() |
boolean |
isAnimationEnabled() |
boolean |
isClickable() |
boolean |
isDraggable() |
boolean |
isOptimized() |
boolean |
isVisible() |
void |
setAnimationEnabled(boolean animationEnabled)
Sets whether marker adding animation must be turned on.
|
void |
setCaption(java.lang.String caption)
Sets caption to be displayed when user hovers the marker
|
void |
setClickable(boolean clickable) |
void |
setDraggable(boolean draggable)
Sets whether marker should be draggable.
|
void |
setIcon(MarkerImage icon)
Sets icon
|
void |
setIconUrl(java.lang.String iconUrl)
Sets marker's icon URL.
|
void |
setOptimized(boolean optimized)
Sets if marker rendering should be optimized, which will lead to markers being rendered as a single DOM
element.
|
void |
setPosition(GeoPoint position)
Sets position of the marker
|
void |
setVisible(boolean visible)
Sets marker visibility
|
void setPosition(GeoPoint position)
position
- positionGeoPoint getPosition()
void setCaption(java.lang.String caption)
caption
- captionjava.lang.String getCaption()
void setDraggable(boolean draggable)
draggable
- draggableboolean isDraggable()
void setIconUrl(java.lang.String iconUrl)
iconUrl
- icon urljava.lang.String getIconUrl()
void setAnimationEnabled(boolean animationEnabled)
animationEnabled
- true if animation should be enabledboolean isAnimationEnabled()
void setOptimized(boolean optimized)
optimized
- true if marker rendering should be optimizedboolean isOptimized()
boolean isVisible()
void setVisible(boolean visible)
visible
- true if marker should be visibleboolean isClickable()
void setClickable(boolean clickable)
clickable
- true if marker is clickablevoid setIcon(MarkerImage icon)
icon
- iconMarkerImage getIcon()