
<devsite-heading text=" OverlayType constants" for="OverlayType" level="h2" link="" toc="" back-to-top=""><h2 id="OverlayType" is-upgraded="">OverlayType constants</h2></devsite-heading>
<p>
<code translate="no" dir="ltr"><span itemprop="path">google.maps.drawing</span>.<span itemprop="name">OverlayType</span></code>
constants
</p>
<p>The types of overlay that may be created by the <code translate="no" dir="ltr">DrawingManager</code>. Specify these by value, or by using the constant's name. For example, <code translate="no" dir="ltr">'polygon'</code> or <code translate="no" dir="ltr">google.maps.drawing.OverlayType.POLYGON</code>.</p>
<devsite-heading text="Library" for="library_4" level="h4" link=""><h4 is-upgraded="" id="library_4">Library</h4></devsite-heading>
<p>drawing</p>
<div class="devsite-table-wrapper"><table class="constants responsive" summary="OverlayType constants">
<thead>
<tr><th colspan="2">Constants</th>
</tr></thead>
<tbody>
<tr id="OverlayType.CIRCLE">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#OverlayType.CIRCLE"><span>CIRCLE</span></a></code></td>
<td>Specifies that the <code translate="no" dir="ltr"><span>DrawingManager</span></code> creates circles, and that the overlay given in the <code translate="no" dir="ltr"><span>overlaycomplete</span></code> event is a circle.</td>
</tr>
<tr id="OverlayType.MARKER">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#OverlayType.MARKER"><span>MARKER</span></a></code></td>
<td>Specifies that the <code translate="no" dir="ltr"><span>DrawingManager</span></code> creates markers, and that the overlay given in the <code translate="no" dir="ltr"><span>overlaycomplete</span></code> event is a marker.</td>
</tr>
<tr id="OverlayType.POLYGON">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#OverlayType.POLYGON"><span>POLYGON</span></a></code></td>
<td>Specifies that the <code translate="no" dir="ltr"><span>DrawingManager</span></code> creates polygons, and that the overlay given in the <code translate="no" dir="ltr"><span>overlaycomplete</span></code> event is a polygon.</td>
</tr>
<tr id="OverlayType.POLYLINE">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#OverlayType.POLYLINE"><span>POLYLINE</span></a></code></td>
<td>Specifies that the <code translate="no" dir="ltr"><span>DrawingManager</span></code> creates polylines, and that the overlay given in the <code translate="no" dir="ltr"><span>overlaycomplete</span></code> event is a polyline.</td>
</tr>
<tr id="OverlayType.RECTANGLE">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#OverlayType.RECTANGLE"><span>RECTANGLE</span></a></code></td>
<td>Specifies that the <code translate="no" dir="ltr"><span>DrawingManager</span></code> creates rectangles, and that the overlay given in the <code translate="no" dir="ltr"><span>overlaycomplete</span></code> event is a rectangle.</td>
</tr>
</tbody>
</table></div>
