|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.drawing.DrawingManagerOptions
public class DrawingManagerOptions
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 |
---|
protected DrawingManagerOptions()
Method Detail |
---|
public static final DrawingManagerOptions create()
public final void setCircleOptions(CircleOptions circleOptions)
DrawingManager
. The
center
and
radius
properties are ignored, and the
map
property of a new circle is always set to the
DrawingManager
's map.
public final void setDrawingControl(boolean drawingControl)
true
.
public final void setDrawingControlOptions(DrawingControlOptions drawingControlOptions)
public final void setDrawingMode(OverlayType drawingMode)
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.
public final void setMap(GoogleMap map)
Map
to which the
DrawingManager
is attached, which is the
Map
on which the overlays created will be placed.
public final void setMarkerOptions(MarkerOptions markerOptions)
DrawingManager
. The
position
property is ignored, and the
map
property of a new marker is always set to the
DrawingManager
's map.
public final void setPolygonOptions(PolygonOptions polygonOptions)
DrawingManager
. The
paths
property is ignored, and the
map
property of a new polygon is always set to the
DrawingManager
's map.
public final void setPolylineOptions(PolylineOptions polylineOptions)
DrawingManager
. The
path
property is ignored, and the
map
property of a new polyline is always set to the
DrawingManager
's map.
public final void setRectangleOptions(RectangleOptions rectangleOptions)
DrawingManager
. The
bounds
property is ignored, and the
map
property of a new rectangle is always set to the
DrawingManager
's map.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |