public class MarkerOptions extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
MarkerOptions()
create Marker Options
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
Animation |
getAnimation()
gets Which animation to play when marker is added to a map.
|
boolean |
getClickable()
gets If true, the marker receives mouse and touch events.
|
String |
getCursor()
gets Mouse cursor to show on hover
|
boolean |
getDraggable()
gets If true, the marker can be dragged.
|
boolean |
getFlat()
gets If true, the marker shadow will not be displayed.
|
MarkerImage |
getIcon_MarkerImage()
gets Map on which to display Marker.
|
String |
getIcon_String()
gets Icon for the foreground
|
StreetViewPanoramaWidget |
getMapStreetViewPanoramaWidget()
gets Map on which to display Marker.
|
MapWidget |
getMapWidget()
gets Map on which to display Polyline.
|
boolean |
getOptimized()
gets Optimization renders many markers as a single static element.
|
LatLng |
getPosition()
gets Marker position.
|
boolean |
getRaiseOnDrag()
gets If false, disables raising and lowering the marker on drag.
|
MarkerImage |
getShadow_MarkerImage()
gets Shadow image
|
String |
getShadow_String()
gets Shadow image
|
MarkerShape |
getShape()
gets Image map region definition used for drag/click.
|
String |
getTitle()
gets Rollover text
|
boolean |
getVisible()
gets If true, the marker is visible
|
int |
getZindex()
gets All markers are displayed on the map in order of their zIndex, with higher values displaying in front of markers with lower values.
|
static MarkerOptions |
newInstance()
create Marker Options
|
void |
setAnimation(Animation animation)
sets Which animation to play when marker is added to a map.
|
void |
setClickable(boolean clickable)
sets If true, the marker receives mouse and touch events.
|
void |
setCursor(String cursor)
sets Mouse cursor to show on hover
|
void |
setDraggable(boolean draggable)
sets If true, the marker can be dragged.
|
void |
setFlat(boolean flat)
sets If true, the marker shadow will not be displayed.
|
void |
setIcon(MarkerImage icon)
sets Map on which to display Marker.
|
void |
setIcon(String icon)
sets Icon for the foreground
|
void |
setMap(MapWidget mapWidget)
sets Map on which to display Polyline.
|
void |
setMap(StreetViewPanoramaWidget streetViewPanoramaWidget) |
void |
setOptimized(boolean optimized)
sets Optimization renders many markers as a single static element.
|
void |
setPosition(LatLng position)
sets Marker position.
|
void |
setRaiseOnDrag(boolean raiseOnDrag)
sets If false, disables raising and lowering the marker on drag.
|
void |
setShadow(MarkerImage shadow)
sets Shadow image
|
void |
setShadow(String shadow)
sets Shadow image
|
void |
setShape(MarkerShape shape)
sets Image map region definition used for drag/click.
|
void |
setTitle(String title)
sets Rollover text
|
void |
setVisible(boolean visible)
sets If true, the marker is visible
|
void |
setZindex(int zIndex)
sets All markers are displayed on the map in order of their zIndex, with higher values displaying in front of markers with lower values.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final MarkerOptions newInstance()
public final void setAnimation(Animation animation)
animation
- public final Animation getAnimation()
public final void setClickable(boolean clickable)
clickable
- public final boolean getClickable()
public final void setCursor(String cursor)
cursor
- public final String getCursor()
public final void setDraggable(boolean draggable)
draggable
- public final boolean getDraggable()
public final void setFlat(boolean flat)
flat
- public final boolean getFlat()
public final void setIcon(String icon)
icon
- public final String getIcon_String()
public final void setIcon(MarkerImage icon)
icon
- public final MarkerImage getIcon_MarkerImage()
public final void setMap(MapWidget mapWidget)
mapWidget
- public final MapWidget getMapWidget()
public final void setMap(StreetViewPanoramaWidget streetViewPanoramaWidget)
public final StreetViewPanoramaWidget getMapStreetViewPanoramaWidget()
public final void setOptimized(boolean optimized)
optimized
- public final boolean getOptimized()
public final void setPosition(LatLng position)
position
- public final LatLng getPosition()
public final void setRaiseOnDrag(boolean raiseOnDrag)
raiseOnDrag
- public final boolean getRaiseOnDrag()
public final void setShadow(String shadow)
shadow
- public final String getShadow_String()
public final void setShadow(MarkerImage shadow)
shadow
- public final MarkerImage getShadow_MarkerImage()
public final void setShape(MarkerShape shape)
shape
- public final MarkerShape getShape()
public final void setTitle(String title)
title
- public final String getTitle()
public final void setVisible(boolean visible)
visible
- public final boolean getVisible()
public final void setZindex(int zIndex)
zIndex
- public final int getZindex()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.