Merge pull request #1305 from rvlasveld/add_hasLayer_LayerGroup_to_docs
Add hasLayer of LayerGroup to documentation
This commit is contained in:
commit
ecce54ca54
@ -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><<a href="#ilayer">ILayer</a>> <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>
|
||||
|
Loading…
Reference in New Issue
Block a user