|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.MarkerOptions
public class MarkerOptions
THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Constructor Summary | |
---|---|
protected |
MarkerOptions()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static MarkerOptions |
create()
|
void |
setAnimation(Animation animation)
Which animation to play when marker is added to a map. |
void |
setClickable(boolean clickable)
If true, the marker receives mouse and touch events. |
void |
setCursor(java.lang.String cursor)
Mouse cursor to show on hover |
void |
setDraggable(boolean draggable)
If true, the marker can be dragged. |
void |
setFlat(boolean flat)
If true, the marker shadow will not be displayed. |
void |
setIcon(MarkerImage icon)
Icon for the foreground |
void |
setIcon(java.lang.String icon)
Icon for the foreground |
void |
setMap(GoogleMap map)
Map on which to display Marker. |
void |
setMap(StreetViewPanorama map)
Map on which to display Marker. |
void |
setOptimized(boolean optimized)
Optimization renders many markers as a single static element. |
void |
setPosition(LatLng position)
Marker position. |
void |
setRaiseOnDrag(boolean raiseOnDrag)
If false, disables raising and lowering the marker on drag. |
void |
setShadow(MarkerImage shadow)
Shadow image |
void |
setShadow(java.lang.String shadow)
Shadow image |
void |
setShape(MarkerShape shape)
Image map region definition used for drag/click. |
void |
setTitle(java.lang.String title)
Rollover text |
void |
setVisible(boolean visible)
If true, the marker is visible |
void |
setZindex(double zIndex)
All markers are displayed on the map in order of their zIndex, with higher values displaying in front of markers with lower values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MarkerOptions()
Method Detail |
---|
public static final MarkerOptions create()
public final void setAnimation(Animation animation)
public final void setClickable(boolean clickable)
public final void setCursor(java.lang.String cursor)
public final void setDraggable(boolean draggable)
public final void setFlat(boolean flat)
public final void setIcon(java.lang.String icon)
public final void setIcon(MarkerImage icon)
public final void setMap(GoogleMap map)
public final void setMap(StreetViewPanorama map)
public final void setOptimized(boolean optimized)
public final void setPosition(LatLng position)
public final void setRaiseOnDrag(boolean raiseOnDrag)
true
by default.
public final void setShadow(java.lang.String shadow)
public final void setShadow(MarkerImage shadow)
public final void setShape(MarkerShape shape)
public final void setTitle(java.lang.String title)
public final void setVisible(boolean visible)
public final void setZindex(double zIndex)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |