com.google.maps.gwt.client
Class MarkerOptions

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.MarkerOptions

public class MarkerOptions
extends JavaScriptObject

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

MarkerOptions

protected MarkerOptions()
Protected constructor avoids default public constructor.

Method Detail

create

public static final MarkerOptions create()

setAnimation

public final void setAnimation(Animation animation)
Which animation to play when marker is added to a map.


setClickable

public final void setClickable(boolean clickable)
If true, the marker receives mouse and touch events. Default value is true.


setCursor

public final void setCursor(java.lang.String cursor)
Mouse cursor to show on hover


setDraggable

public final void setDraggable(boolean draggable)
If true, the marker can be dragged. Default value is false.


setFlat

public final void setFlat(boolean flat)
If true, the marker shadow will not be displayed.


setIcon

public final void setIcon(java.lang.String icon)
Icon for the foreground


setIcon

public final void setIcon(MarkerImage icon)
Icon for the foreground


setMap

public final void setMap(GoogleMap map)
Map on which to display Marker.


setMap

public final void setMap(StreetViewPanorama map)
Map on which to display Marker.


setOptimized

public final void setOptimized(boolean optimized)
Optimization renders many markers as a single static element. Optimized rendering is enabled by default. Disable optimized rendering for animated GIFs or PNGs, or when each marker must be rendered as a separate DOM element (advanced usage only).


setPosition

public final void setPosition(LatLng position)
Marker position. Required.


setRaiseOnDrag

public final void setRaiseOnDrag(boolean raiseOnDrag)
If false, disables raising and lowering the marker on drag. This option is true by default.


setShadow

public final void setShadow(java.lang.String shadow)
Shadow image


setShadow

public final void setShadow(MarkerImage shadow)
Shadow image


setShape

public final void setShape(MarkerShape shape)
Image map region definition used for drag/click.


setTitle

public final void setTitle(java.lang.String title)
Rollover text


setVisible

public final void setVisible(boolean visible)
If true, the marker is visible


setZindex

public final 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. By default, markers are displayed according to their vertical position on screen, with lower markers appearing in front of markers further up the screen.