#2501, wheelDebounceTime option documented

This commit is contained in:
AndreyGeonya 2014-08-05 17:08:51 +03:00 committed by Vladimir Agafonkin
parent 02f28b9160
commit f5b85f05f1

View File

@ -243,6 +243,12 @@ var map = L.map('map', {
<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>
</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>
<td><code><b>doubleClickZoom</b></code></td>
<td><code>Boolean</code></td>