flip Circle/CircleMarker inheritance
This commit is contained in:
parent
ceed74ba50
commit
98d83e5b92
@ -2890,7 +2890,7 @@ map.fitBounds(bounds);</code></pre>
|
|||||||
|
|
||||||
<h2 id="circle">Circle</h2>
|
<h2 id="circle">Circle</h2>
|
||||||
|
|
||||||
<p>A class for drawing circle overlays on a map. Extends <a href="#path">Path</a>. Use <a href="#map-addlayer">Map#addLayer</a> to add it to the map.</p>
|
<p>A class for drawing circle overlays on a map. Extends <a href="#circlemarker">CircleMarker</a>. Use <a href="#map-addlayer">Map#addLayer</a> to add it to the map.</p>
|
||||||
|
|
||||||
<pre><code class="javascript">L.circle([50.5, 30.5], 200).addTo(map);</pre></code>
|
<pre><code class="javascript">L.circle([50.5, 30.5], 200).addTo(map);</pre></code>
|
||||||
|
|
||||||
@ -2959,7 +2959,7 @@ map.fitBounds(bounds);</code></pre>
|
|||||||
|
|
||||||
<h2 id="circlemarker">CircleMarker</h2>
|
<h2 id="circlemarker">CircleMarker</h2>
|
||||||
|
|
||||||
<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>
|
<p>A circle of a fixed size with radius specified in pixels. Extends <a href="#path">Path</a>. Use <a href="#map-addlayer">Map#addLayer</a> to add it to the map.</p>
|
||||||
|
|
||||||
<h3>Creation</h3>
|
<h3>Creation</h3>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user