#2501, wheelDebounceTime option documented
This commit is contained in:
parent
02f28b9160
commit
f5b85f05f1
@ -243,6 +243,12 @@ var map = L.map('map', {
|
|||||||
<td><code><span class="literal">true</span></code></td>
|
<td><code><span class="literal">true</span></code></td>
|
||||||
<td>Whether the map can be zoomed by using the mouse wheel. If passed <code><span class="string">'center'</span></code>, it will zoom to the center of the view regardless of where the mouse was.</td>
|
<td>Whether the map can be zoomed by using the mouse wheel. If passed <code><span class="string">'center'</span></code>, it will zoom to the center of the view regardless of where the mouse was.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code><b>wheelDebounceTime</b></code></td>
|
||||||
|
<td><code>Number</code></td>
|
||||||
|
<td><code><span class="literal">40</span></code></td>
|
||||||
|
<td>Limits the rate at which a wheel can fire (in milliseconds). By default user can't zoom via wheel more often than once per 40 ms.</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><b>doubleClickZoom</b></code></td>
|
<td><code><b>doubleClickZoom</b></code></td>
|
||||||
<td><code>Boolean</code></td>
|
<td><code>Boolean</code></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user