
<devsite-heading text=" DrawingManagerOptions interface" for="DrawingManagerOptions" level="h2" link="" toc="" back-to-top=""><h2 id="DrawingManagerOptions" is-upgraded="">DrawingManagerOptions interface</h2></devsite-heading>
<p>
<code translate="no" dir="ltr"><span itemprop="path">google.maps.drawing</span>.<span itemprop="name">DrawingManagerOptions</span></code>
interface
</p>
<p>Options for the drawing manager.</p>
<devsite-heading text="Library" for="library_1" level="h4" link=""><h4 is-upgraded="" id="library_1">Library</h4></devsite-heading>
<p>drawing</p>
<div class="devsite-table-wrapper"><table class="properties responsive" summary="interface DrawingManagerOptions - Properties">
<thead>
<tr><th colspan="2">Properties</th>
</tr></thead>
<tbody>
<tr id="DrawingManagerOptions.circleOptions">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#DrawingManagerOptions.circleOptions"><span>circleOptions</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr"><a href="CircleOptions.md">CircleOptions</a> <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">Options to apply to any new circles created with this <code translate="no" dir="ltr">DrawingManager</code>. The <code translate="no" dir="ltr">center</code> and <code translate="no" dir="ltr">radius</code> properties are ignored, and the <code translate="no" dir="ltr">map</code> property of a new circle is always set to the <code translate="no" dir="ltr">DrawingManager</code>'s map.</div></td>
</tr>
<tr id="DrawingManagerOptions.drawingControl">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#DrawingManagerOptions.drawingControl"><span>drawingControl</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr">boolean <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">The enabled/disabled state of the drawing control. Defaults to <code translate="no" dir="ltr">true</code>.</div></td>
</tr>
<tr id="DrawingManagerOptions.drawingControlOptions">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#DrawingManagerOptions.drawingControlOptions"><span>drawingControlOptions</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr"><a href="DrawingControlOptions.md">DrawingControlOptions</a> <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">The display options for the drawing control.</div></td>
</tr>
<tr id="DrawingManagerOptions.drawingMode">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#DrawingManagerOptions.drawingMode"><span>drawingMode</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr"><a href="OverlayType.md">OverlayType</a> <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">The <code translate="no" dir="ltr">DrawingManager</code>'s drawing mode, which defines the type of overlay to be added on the map. Accepted values are <code translate="no" dir="ltr">'marker'</code>, <code translate="no" dir="ltr">'polygon'</code>, <code translate="no" dir="ltr">'polyline'</code>, <code translate="no" dir="ltr">'rectangle'</code>, <code translate="no" dir="ltr">'circle'</code>, or <code translate="no" dir="ltr">null</code>. A drawing mode of <code translate="no" dir="ltr">null</code> means that the user can interact with the map as normal, and clicks do not draw anything.</div></td>
</tr>
<tr id="DrawingManagerOptions.map">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#DrawingManagerOptions.map"><span>map</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr"><a href="Map.md">Map</a> <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">The <code translate="no" dir="ltr">Map</code> to which the <code translate="no" dir="ltr">DrawingManager</code> is attached, which is the <code translate="no" dir="ltr">Map</code> on which the overlays created will be placed.</div></td>
</tr>
<tr id="DrawingManagerOptions.markerOptions">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#DrawingManagerOptions.markerOptions"><span>markerOptions</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr"><a href="MarkerOptions.md">MarkerOptions</a> <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">Options to apply to any new markers created with this <code translate="no" dir="ltr">DrawingManager</code>. The <code translate="no" dir="ltr">position</code> property is ignored, and the <code translate="no" dir="ltr">map</code> property of a new marker is always set to the <code translate="no" dir="ltr">DrawingManager</code>'s map.</div></td>
</tr>
<tr id="DrawingManagerOptions.polygonOptions">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#DrawingManagerOptions.polygonOptions"><span>polygonOptions</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr"><a href="PolygonOptions.md">PolygonOptions</a> <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">Options to apply to any new polygons created with this <code translate="no" dir="ltr">DrawingManager</code>. The <code translate="no" dir="ltr">paths</code> property is ignored, and the <code translate="no" dir="ltr">map</code> property of a new polygon is always set to the <code translate="no" dir="ltr">DrawingManager</code>'s map.</div></td>
</tr>
<tr id="DrawingManagerOptions.polylineOptions">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#DrawingManagerOptions.polylineOptions"><span>polylineOptions</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr"><a href="PolylineOptions.md">PolylineOptions</a> <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">Options to apply to any new polylines created with this <code translate="no" dir="ltr">DrawingManager</code>. The <code translate="no" dir="ltr">path</code> property is ignored, and the <code translate="no" dir="ltr">map</code> property of a new polyline is always set to the <code translate="no" dir="ltr">DrawingManager</code>'s map.</div></td>
</tr>
<tr id="DrawingManagerOptions.rectangleOptions">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#DrawingManagerOptions.rectangleOptions"><span>rectangleOptions</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr"><a href="RectangleOptions.md">RectangleOptions</a> <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">Options to apply to any new rectangles created with this <code translate="no" dir="ltr">DrawingManager</code>. The <code translate="no" dir="ltr">bounds</code> property is ignored, and the <code translate="no" dir="ltr">map</code> property of a new rectangle is always set to the <code translate="no" dir="ltr">DrawingManager</code>'s map.</div></td>
</tr>
</tbody>
</table></div>
