Add hasLayer of LayerGroup to documentation

In response to issue #1282 this method is added. Pull request #1300
adds the method to the class.
This commit is contained in:
Roemer Vlasveld 2013-01-22 11:05:42 +01:00
parent 1e5d10c5e7
commit fcaef5011d

View File

@ -2577,6 +2577,14 @@ map.fitBounds(bounds);</code></pre>
<td><code><span class="keyword">this</span></code></td>
<td>Removes a given layer from the group.</td>
</tr>
<tr>
<td><code><b>hasLayer</b>(
<nobr>&lt;<a href="#ilayer">ILayer</a>&gt; <i>layer</i> )</nobr>
</code></td>
<td><code>Boolean</code></td>
<td>Returns <code><span class="literal">true</span></code> if the given layer is currently added to the group.</td>
</tr>
<tr>
<td><code><b>clearLayers</b>()</code></td>
<td><code><span class="keyword">this</span></code></td>