Skip to content

Conversation

mtmail
Copy link
Contributor

@mtmail mtmail commented Mar 8, 2014

The map options scrollWheelZoom and doubleClickZoom already allow the value center

From the documentation
http://leafletjs.com/reference.html#map-options

"If passed 'center', it will zoom to the center of the view regardless of where the mouse was."

This change adds the same for touchZoom.

thanks!

mtmail added 2 commits March 8, 2014 02:27
…ntered on map center. Now the same for touchzoom
…ntered on map center. Now the same for touchzoom
mourner added a commit that referenced this pull request Mar 8, 2014
@mourner mourner merged commit cd03559 into Leaflet:master Mar 8, 2014
@mourner
Copy link
Member

mourner commented Mar 8, 2014

Thanks!

mtmail added a commit to mtmail/Leaflet that referenced this pull request Mar 8, 2014
Documenting the accepted pull request Leaflet#2527
mtmail added a commit to mtmail/Leaflet that referenced this pull request Mar 8, 2014
Adding change of accepted pull request Leaflet#2527 to changelog.
mtmail added a commit to mtmail/Leaflet that referenced this pull request Mar 8, 2014
( using the correct gh-pages-master branch now)
Documenting the accepted pull request Leaflet#2527
mtmail added a commit to mtmail/Leaflet that referenced this pull request Mar 8, 2014
( using the correct gh-pages-master branch now)
Documenting the accepted pull request Leaflet#2527
cjbraden pushed a commit to cjbraden/Leaflet that referenced this pull request Mar 14, 2014
Adding change of accepted pull request Leaflet#2527 to changelog.
@patrickarlt patrickarlt mentioned this pull request Dec 21, 2014
60 tasks
mourner pushed a commit that referenced this pull request Mar 6, 2015
( using the correct gh-pages-master branch now)
Documenting the accepted pull request #2527
mourner pushed a commit that referenced this pull request Jul 3, 2015
( using the correct gh-pages-master branch now)
Documenting the accepted pull request #2527
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants