com.google.maps.gwt.client.drawing
Class DrawingControlOptions

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

public class DrawingControlOptions
extends JavaScriptObject

Options for the rendering of the drawing control. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected DrawingControlOptions()
          Protected constructor avoids default public constructor.
 
Method Summary
static DrawingControlOptions create()
           
 void setDrawingModes( drawingModes)
          The drawing modes to display in the drawing control, in the order in which they are to be displayed.
 void setPosition(ControlPosition position)
          Position id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawingControlOptions

protected DrawingControlOptions()
Protected constructor avoids default public constructor.

Method Detail

create

public static final DrawingControlOptions create()

setDrawingModes

public final void setDrawingModes( drawingModes)
The drawing modes to display in the drawing control, in the order in which they are to be displayed. The hand icon (which corresponds to the null drawing mode) is always available and is not to be specified in this array. Defaults to [MARKER, POLYLINE, RECTANGLE, CIRCLE, POLYGON] .


setPosition

public final void setPosition(ControlPosition position)
Position id. Used to specify the position of the control on the map. The default position is TOP_LEFT .