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:
mtmail 2014-03-08 13:34:06 +01:00 committed by Vladimir Agafonkin
parent ae4e53fc99
commit f4250f12e8

View File

@ -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>