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

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

public class DrawingManagerOptions
extends JavaScriptObject

Options for the drawing manager. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected DrawingManagerOptions()
          Protected constructor avoids default public constructor.
 
Method Summary
static DrawingManagerOptions create()
           
 void setCircleOptions(CircleOptions circleOptions)
          Options to apply to any new circles created with this DrawingManager .
 void setDrawingControl(boolean drawingControl)
          The enabled/disabled state of the drawing control.
 void setDrawingControlOptions(DrawingControlOptions drawingControlOptions)
          The display options for the drawing control.
 void setDrawingMode(OverlayType drawingMode)
          The DrawingManager 's drawing mode, which defines the type of overlay to be added on the map.
 void setMap(GoogleMap map)
          The Map to which the DrawingManager is attached, which is the Map on which the overlays created will be placed.
 void setMarkerOptions(MarkerOptions markerOptions)
          Options to apply to any new markers created with this DrawingManager .
 void setPolygonOptions(PolygonOptions polygonOptions)
          Options to apply to any new polygons created with this DrawingManager .
 void setPolylineOptions(PolylineOptions polylineOptions)
          Options to apply to any new polylines created with this DrawingManager .
 void setRectangleOptions(RectangleOptions rectangleOptions)
          Options to apply to any new rectangles created with this DrawingManager .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawingManagerOptions

protected DrawingManagerOptions()
Protected constructor avoids default public constructor.

Method Detail

create

public static final DrawingManagerOptions create()

setCircleOptions

public final void setCircleOptions(CircleOptions circleOptions)
Options to apply to any new circles created with this DrawingManager . The center and radius properties are ignored, and the map property of a new circle is always set to the DrawingManager 's map.


setDrawingControl

public final void setDrawingControl(boolean drawingControl)
The enabled/disabled state of the drawing control. Defaults to true .


setDrawingControlOptions

public final void setDrawingControlOptions(DrawingControlOptions drawingControlOptions)
The display options for the drawing control.


setDrawingMode

public final void setDrawingMode(OverlayType drawingMode)
The DrawingManager 's drawing mode, which defines the type of overlay to be added on the map. Accepted values are MARKER , POLYGON , POLYLINE , RECTANGLE , CIRCLE , or null . A drawing mode of null means that the user can interact with the map as normal, and clicks do not draw anything.


setMap

public final void setMap(GoogleMap map)
The Map to which the DrawingManager is attached, which is the Map on which the overlays created will be placed.


setMarkerOptions

public final void setMarkerOptions(MarkerOptions markerOptions)
Options to apply to any new markers created with this DrawingManager . The position property is ignored, and the map property of a new marker is always set to the DrawingManager 's map.


setPolygonOptions

public final void setPolygonOptions(PolygonOptions polygonOptions)
Options to apply to any new polygons created with this DrawingManager . The paths property is ignored, and the map property of a new polygon is always set to the DrawingManager 's map.


setPolylineOptions

public final void setPolylineOptions(PolylineOptions polylineOptions)
Options to apply to any new polylines created with this DrawingManager . The path property is ignored, and the map property of a new polyline is always set to the DrawingManager 's map.


setRectangleOptions

public final void setRectangleOptions(RectangleOptions rectangleOptions)
Options to apply to any new rectangles created with this DrawingManager . The bounds property is ignored, and the map property of a new rectangle is always set to the DrawingManager 's map.