| Constructor and Description | 
|---|
| MarkerOptions()Creates a MarkerOptions object | 
| Modifier and Type | Method and Description | 
|---|---|
| MarkerOptions | setAlt(String alt)Sets alt attribute option | 
| MarkerOptions | setClickable(boolean clickable)Sets clickable option | 
| MarkerOptions | setDraggable(boolean draggable)Sets draggable option | 
| MarkerOptions | setIcon(Icon icon)Sets icon option | 
| MarkerOptions | setKeyboard(boolean keyboard)Sets keyboard option | 
| MarkerOptions | setOpacity(double opacity)Sets opacity option | 
| MarkerOptions | setRiseOffset(double riseOffset)Sets riseOffset option | 
| MarkerOptions | setRiseOnHover(boolean riseOnHover)Sets riseOnHover option | 
| MarkerOptions | setTitle(String title)Sets title option | 
| MarkerOptions | setZIndexOffset(double zIndexOffset)Sets zIndexOffset option | 
public MarkerOptions setIcon(Icon icon)
icon - Icon class to use for rendering the marker.public MarkerOptions setClickable(boolean clickable)
clickable - If false, the marker will not emit mouse
 events and will act as a part of the underlying map.public MarkerOptions setDraggable(boolean draggable)
draggable - Whether the marker is draggable with mouse/touch or not.public MarkerOptions setKeyboard(boolean keyboard)
keyboard - Whether the marker can be tabbed to with a keyboard and
 clicked by pressing enter.public MarkerOptions setTitle(String title)
title - Text for the browser tooltip that appear on marker hover (no
 tooltip by default).public MarkerOptions setAlt(String alt)
alt - Text for the alt attribute of the icon image
 (useful for accessibility).public MarkerOptions setZIndexOffset(double zIndexOffset)
zIndexOffset - By default, marker images zIndex is set automatically
 based on its latitude. Use this option if you want to put the marker on
 top of all others (or below), specifying a high value like
 1000 (or high negative value, respectively).public MarkerOptions setOpacity(double opacity)
opacity - The opacity of the marker.public MarkerOptions setRiseOnHover(boolean riseOnHover)
riseOnHover - If true, the marker will get on top of
 others when you hover the mouse over it.public MarkerOptions setRiseOffset(double riseOffset)
riseOffset - The z-index offset used for the
 riseOnHover feature.Copyright © 2017. All rights reserved.