Documenting setRadius method for Circle and CircleMarker. Addresses #349.
This commit is contained in:
parent
a7968ba236
commit
4a3444c810
@ -1600,13 +1600,18 @@ map.addLayer(polyline);</code></pre>
|
||||
<td><code>this</code></td>
|
||||
<td>Sets the position of a circle to a new location.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>setRadius( <Number> <i>radius</i> )</code></td>
|
||||
<td><code>this</code></td>
|
||||
<td>Sets the radius of a circle. Units are in meters.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<h2 id="circlemarker">L.CircleMarker</h2>
|
||||
|
||||
<p>A circle of a fixed size with radius specified in pixels. Extends <a href="#circle">Circe</a>. Use <a href="#map-addlayer">Map#addLayer</a> to add it to the map.</p>
|
||||
<p>A circle of a fixed size with radius specified in pixels. Extends <a href="#circle">Circle</a>. Use <a href="#map-addlayer">Map#addLayer</a> to add it to the map.</p>
|
||||
|
||||
<h3>Constructor</h3>
|
||||
|
||||
@ -1634,6 +1639,11 @@ map.addLayer(polyline);</code></pre>
|
||||
<td><code>this</code></td>
|
||||
<td>Sets the position of a circle marker to a new location.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>setRadius( <Number> <i>radius</i> )</code></td>
|
||||
<td><code>this</code></td>
|
||||
<td>Sets the radius of a circle marker. Units are in meters.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user