update default path options
This commit is contained in:
parent
8ec0d3fdfc
commit
4b0e4d7c5a
@ -2350,19 +2350,19 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);</code></pre>
|
||||
<tr>
|
||||
<td><code><b>color</b></code></td>
|
||||
<td><code>String</code></td>
|
||||
<td><code><span class="string">'#03f'</span></code></td>
|
||||
<td><code><span class="string">'#3388ff'</span></code></td>
|
||||
<td>Stroke color.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><b>weight</b></code></td>
|
||||
<td><code>Number</code></td>
|
||||
<td><code><span class="number">5</span></code></td>
|
||||
<td><code><span class="number">3</span></code></td>
|
||||
<td>Stroke width in pixels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><b>opacity</b></code></td>
|
||||
<td><code>Number</code></td>
|
||||
<td><code><span class="number">0.5</span></code></td>
|
||||
<td><code><span class="number">1</span></code></td>
|
||||
<td>Stroke opacity.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -2398,13 +2398,13 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);</code></pre>
|
||||
<tr>
|
||||
<td><code><b>lineCap</b></code></td>
|
||||
<td><code>String</code></td>
|
||||
<td><code><span class="literal">null</span></code></td>
|
||||
<td><code><span class="string">'round'</span></code></td>
|
||||
<td>A string that defines <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linecap">shape to be used at the end</a> of the stroke.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><b>lineJoin</b></code></td>
|
||||
<td><code>String</code></td>
|
||||
<td><code><span class="literal">null</span></code></td>
|
||||
<td><code><span class="string">'round'</span></code></td>
|
||||
<td>A string that defines <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linejoin">shape to be used at the corners</a> of the stroke.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -2417,7 +2417,7 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);</code></pre>
|
||||
<td><code><b>pointerEvents</b></code></td>
|
||||
<td><code>String</code></td>
|
||||
<td><code><span class="literal">null</span></code></td>
|
||||
<td>Sets the <code>pointer-events</code> attribute on the path if SVG backend is used.</td>
|
||||
<td>Sets the <code>pointer-events</code> attribute on the path if SVG renderer is used.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><b>className</b></code></td>
|
||||
|
Loading…
Reference in New Issue
Block a user