Update reference related to touchZoom:center
( using the correct gh-pages-master branch now) Documenting the accepted pull request https://github.com/Leaflet/Leaflet/pull/2527
This commit is contained in:
parent
ae4e53fc99
commit
f4250f12e8
@ -235,7 +235,7 @@ var map = L.map('map', {
|
||||
<td><code><b>touchZoom</b></code></td>
|
||||
<td><code>Boolean</code></td>
|
||||
<td><code><span class="literal">true</span></code></td>
|
||||
<td>Whether the map can be zoomed by touch-dragging with two fingers.</td>
|
||||
<td>Whether the map can be zoomed by touch-dragging with two fingers. If passed <code><span class="string">'center'</span></code>, it will zoom to the center of the view regardless of where the touch events (fingers) were.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code><b>scrollWheelZoom</b></code></td>
|
||||
|
Loading…
Reference in New Issue
Block a user