Package | Description |
---|---|
com.gwidgets.api.leaflet.options |
Modifier and Type | Method and Description |
---|---|
MarkerOptions.Builder |
MarkerOptions.Builder.alt(java.lang.String alt)
Text for the alt attribute of the icon image (useful for accessibility).
|
MarkerOptions.Builder |
MarkerOptions.Builder.clickable(java.lang.Boolean clickable)
If false, the marker will not emit mouse events and will act as a part of the underlying map.
|
MarkerOptions.Builder |
MarkerOptions.Builder.draggable(java.lang.Boolean draggable)
Whether the marker is draggable with mouse/touch or not.
|
MarkerOptions.Builder |
MarkerOptions.Builder.icon(Icon icon)
Icon class to use for rendering the marker.
|
MarkerOptions.Builder |
MarkerOptions.Builder.keyboard(java.lang.Boolean keyboard)
Whether the marker can be tabbed to with a keyboard and clicked by pressing enter.
|
MarkerOptions.Builder |
MarkerOptions.Builder.opacity(java.lang.Number opacity)
The opacity of the marker.
|
MarkerOptions.Builder |
MarkerOptions.Builder.riseOffset(java.lang.Number riseOffset)
The z-index offset used for the riseOnHover feature.
|
MarkerOptions.Builder |
MarkerOptions.Builder.riseOnHover(java.lang.Boolean riseOnHover)
If true, the marker will get on top of others when you hover the mouse over it.
|
MarkerOptions.Builder |
MarkerOptions.Builder.title(java.lang.String title)
Text for the browser tooltip that appear on marker hover (no tooltip by default).
|
MarkerOptions.Builder |
MarkerOptions.Builder.zIndexOffset(java.lang.Number zIndexOffset)
By default, zIndex for the marker image is set automatically based on its latitude.
|