
<devsite-heading text=" KmlLayerOptions interface" for="KmlLayerOptions" level="h2" link="" toc="" back-to-top=""><h2 id="KmlLayerOptions" is-upgraded="">KmlLayerOptions interface</h2></devsite-heading>
<p>
<code translate="no" dir="ltr"><span itemprop="path">google.maps</span>.<span itemprop="name">KmlLayerOptions</span></code>
interface
</p>
<p>This object defines the properties that can be set on a <code translate="no" dir="ltr">KmlLayer</code> object.</p>
<div class="devsite-table-wrapper"><table class="properties responsive" summary="interface KmlLayerOptions - Properties">
<thead>
<tr><th colspan="2">Properties</th>
</tr></thead>
<tbody>
<tr id="KmlLayerOptions.clickable">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerOptions.clickable"><span>clickable</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">If true, the layer receives mouse events. Default value is true.</div></td>
</tr>
<tr id="KmlLayerOptions.map">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerOptions.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 map on which to display the layer.</div></td>
</tr>
<tr id="KmlLayerOptions.preserveViewport">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerOptions.preserveViewport"><span>preserveViewport</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">By default, the input map is centered and zoomed to the bounding box of the contents of the layer. If this option is set to <code translate="no" dir="ltr">true</code>, the viewport is left unchanged, unless the map's center and zoom were never set.</div></td>
</tr>
<tr id="KmlLayerOptions.screenOverlays">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerOptions.screenOverlays"><span>screenOverlays</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">Whether to render the screen overlays. Default true.</div></td>
</tr>
<tr id="KmlLayerOptions.suppressInfoWindows">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerOptions.suppressInfoWindows"><span>suppressInfoWindows</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">Suppress the rendering of info windows when layer features are clicked.</div></td>
</tr>
<tr id="KmlLayerOptions.url">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerOptions.url"><span>url</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr">string <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">The URL of the KML document to display.</div></td>
</tr>
<tr id="KmlLayerOptions.zIndex">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerOptions.zIndex"><span>zIndex</span></a></code></td>
<td><div><strong>Type:</strong>&nbsp; <code translate="no" dir="ltr">number <span class="optional-type-annotation">optional</span></code></div>
<div class="desc">The z-index of the layer.</div></td>
</tr>
</tbody>
</table></div>
