Changed "imerial" to "imperial" (typo)
This commit is contained in:
parent
e94052de42
commit
f3352a667a
@ -57,7 +57,7 @@ In the previous Leaflet version, pinch-zoom only worked on iOS devices, but now
|
||||
|
||||
#### Scale Control
|
||||
|
||||
A simple, lightweight control that indicates the scale of the current map view in metric and/or imerial systems. As usual, you can customize its appearance with CSS. Take a look at the bottom left corner of the map above!
|
||||
A simple, lightweight control that indicates the scale of the current map view in metric and/or imperial systems. As usual, you can customize its appearance with CSS. Take a look at the bottom left corner of the map above!
|
||||
|
||||
L.control.scale().addTo(map);
|
||||
|
||||
|
@ -3803,7 +3803,7 @@ L.control.layers(baseLayers, overlays).addTo(map);</code></pre>
|
||||
|
||||
<h2 id="control-scale">L.Control.Scale</h2>
|
||||
|
||||
<p>A simple scale control that shows the scale of the current center of screen in metric (m/km) and imerial (mi/ft) systems. Implements <a href="#icontrol">IControl</a> interface.</p>
|
||||
<p>A simple scale control that shows the scale of the current center of screen in metric (m/km) and imperial (mi/ft) systems. Implements <a href="#icontrol">IControl</a> interface.</p>
|
||||
|
||||
<pre><code>L.control.scale().addTo(map);</code></pre>
|
||||
|
||||
@ -3856,10 +3856,10 @@ L.control.layers(baseLayers, overlays).addTo(map);</code></pre>
|
||||
<td>Whether to show the metric scale line (m/km).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><b>imerial</b></code></td>
|
||||
<td><code><b>imperial</b></code></td>
|
||||
<td><code>Boolean</code></td>
|
||||
<td><code><span class="literal">true</span></code></td>
|
||||
<td>Whether to show the imerial scale line (mi/ft).</td>
|
||||
<td>Whether to show the imperial scale line (mi/ft).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><b>updateWhenIdle</b></code></td>
|
||||
|
Loading…
Reference in New Issue
Block a user