fix iOS pinch-zoom regression and update build

This commit is contained in:
Vladimir Agafonkin 2012-08-07 12:24:32 +03:00
parent 7dedc0c59b
commit 2109713511

View File

@ -26,8 +26,6 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : {
.fire('movestart')
.fire('zoomstart');
this._animatingZoom = true;
this.fire('zoomanim', {
center: center,
zoom: zoom
@ -50,6 +48,7 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : {
_runAnimation: function (center, zoom, scale, origin, backwardsTransform) {
this._animateToCenter = center;
this._animateToZoom = zoom;
this._animatingZoom = true;
var transform = L.DomUtil.TRANSFORM,
tileBg = this._tileBg;