@JsType(isNative=true,
namespace="<global>",
name="Object")
public class MarkerOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MarkerOptions.Builder
The Class Builder.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlt()
Gets the text for the alt attribute of the icon image (useful for accessibility).
|
java.lang.String |
getAttribution() |
java.lang.Boolean |
getClickable()
Gets whether the marker will not emit mouse events and will act as a part of the underlying map
default true
|
java.lang.Boolean |
getDraggable()
Gets Whether the marker is draggable with mouse/touch or not.
|
Icon |
getIcon()
Gets Icon class to use for rendering the marker.
|
java.lang.Boolean |
getInteractive() |
java.lang.Boolean |
getKeyboard()
Gets Whether the marker can be tabbed to with a keyboard and clicked by pressing enter.
|
double |
getOpacity()
Gets The opacity of the marker.
|
java.lang.String |
getPane() |
double |
getRiseOffset()
Gets The z-index offset used for the riseOnHover feature.
|
java.lang.Boolean |
getRiseOnHover()
Gets whether the marker will get on top of others when you hover the mouse over it.
|
java.lang.String |
getTitle()
Gets Text for the browser tooltip that appear on marker hover (no tooltip by default).
|
double |
getzIndexOffset()
Gets z index offset
default 0
|
@JsOverlay public final Icon getIcon()
@JsOverlay public final java.lang.Boolean getClickable()
@JsOverlay public final java.lang.Boolean getDraggable()
@JsOverlay public final java.lang.Boolean getKeyboard()
@JsOverlay public final java.lang.String getTitle()
@JsOverlay public final java.lang.String getAlt()
@JsOverlay public final double getzIndexOffset()
@JsOverlay public final double getOpacity()
@JsOverlay public final java.lang.Boolean getRiseOnHover()
@JsOverlay public final double getRiseOffset()
@JsOverlay public final java.lang.String getPane()
@JsOverlay public final java.lang.String getAttribution()
@JsOverlay public final java.lang.Boolean getInteractive()