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:
parent
1e5d10c5e7
commit
fcaef5011d
@ -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><<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>
|
<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>
|
||||||
|
Loading…
Reference in New Issue
Block a user