
<devsite-heading text=" KmlLayerStatus constants" for="KmlLayerStatus" level="h2" link="" toc="" back-to-top=""><h2 id="KmlLayerStatus" is-upgraded="">KmlLayerStatus constants</h2></devsite-heading>
<p>
<code translate="no" dir="ltr"><span itemprop="path">google.maps</span>.<span itemprop="name">KmlLayerStatus</span></code>
constants
</p>
<p>The status returned by <code translate="no" dir="ltr">KmlLayer</code> on the completion of loading a document. Specify these by value, or by using the constant's name. For example, <code translate="no" dir="ltr">'OK'</code> or <code translate="no" dir="ltr">google.maps.KmlLayerStatus.OK</code>.</p>
<div class="devsite-table-wrapper"><table class="constants responsive" summary="KmlLayerStatus constants">
<thead>
<tr><th colspan="2">Constants</th>
</tr></thead>
<tbody>
<tr id="KmlLayerStatus.DOCUMENT_NOT_FOUND">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerStatus.DOCUMENT_NOT_FOUND"><span>DOCUMENT_NOT_FOUND</span></a></code></td>
<td>The document could not be found. Most likely it is an invalid URL, or the document is not publicly available.</td>
</tr>
<tr id="KmlLayerStatus.DOCUMENT_TOO_LARGE">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerStatus.DOCUMENT_TOO_LARGE"><span>DOCUMENT_TOO_LARGE</span></a></code></td>
<td>The document exceeds the file size limits of KmlLayer.</td>
</tr>
<tr id="KmlLayerStatus.FETCH_ERROR">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerStatus.FETCH_ERROR"><span>FETCH_ERROR</span></a></code></td>
<td>The document could not be fetched.</td>
</tr>
<tr id="KmlLayerStatus.INVALID_DOCUMENT">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerStatus.INVALID_DOCUMENT"><span>INVALID_DOCUMENT</span></a></code></td>
<td>The document is not a valid KML, KMZ or GeoRSS document.</td>
</tr>
<tr id="KmlLayerStatus.INVALID_REQUEST">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerStatus.INVALID_REQUEST"><span>INVALID_REQUEST</span></a></code></td>
<td>The <code translate="no" dir="ltr"><span>KmlLayer</span></code> is invalid.</td>
</tr>
<tr id="KmlLayerStatus.LIMITS_EXCEEDED">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerStatus.LIMITS_EXCEEDED"><span>LIMITS_EXCEEDED</span></a></code></td>
<td>The document exceeds the feature limits of KmlLayer.</td>
</tr>
<tr id="KmlLayerStatus.OK">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerStatus.OK"><span>OK</span></a></code></td>
<td>The layer loaded successfully.</td>
</tr>
<tr id="KmlLayerStatus.TIMED_OUT">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerStatus.TIMED_OUT"><span>TIMED_OUT</span></a></code></td>
<td>The document could not be loaded within a reasonable amount of time.</td>
</tr>
<tr id="KmlLayerStatus.UNKNOWN">
<td itemprop="property"><code translate="no" dir="ltr"><a class="secret-link" href="#KmlLayerStatus.UNKNOWN"><span>UNKNOWN</span></a></code></td>
<td>The document failed to load for an unknown reason.</td>
</tr>
</tbody>
</table></div>
