Merge pull request #1305 from rvlasveld/add_hasLayer_LayerGroup_to_docs

Add hasLayer of LayerGroup to documentation
This commit is contained in:
Vladimir Agafonkin 2013-01-22 02:17:39 -08:00
commit ecce54ca54

View File

@ -2577,6 +2577,14 @@ map.fitBounds(bounds);</code></pre>
<td><code><span class="keyword">this</span></code></td> <td><code><span class="keyword">this</span></code></td>
<td>Removes a given layer from the group.</td> <td>Removes a given layer from the group.</td>
</tr> </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> <tr>
<td><code><b>clearLayers</b>()</code></td> <td><code><b>clearLayers</b>()</code></td>
<td><code><span class="keyword">this</span></code></td> <td><code><span class="keyword">this</span></code></td>