update build

This commit is contained in:
mourner 2012-02-25 00:05:17 +02:00
parent 291f3515bf
commit 48f99ab2f8
2 changed files with 5 additions and 5 deletions

8
dist/leaflet-src.js vendored
View File

@ -4924,8 +4924,8 @@ L.Map.TouchZoom = L.Handler.extend({
if (!e.touches || e.touches.length !== 2 || map._animatingZoom || this._zooming) { return; }
var p1 = map.mouseEventToContainerPoint(e.touches[0]),
p2 = map.mouseEventToContainerPoint(e.touches[1]),
var p1 = map.mouseEventToLayerPoint(e.touches[0]),
p2 = map.mouseEventToLayerPoint(e.touches[1]),
viewCenter = map.containerPointToLayerPoint(map.getSize().divideBy(2));
this._startCenter = p1.add(p2).divideBy(2, true);
@ -4948,8 +4948,8 @@ L.Map.TouchZoom = L.Handler.extend({
var map = this._map;
var p1 = map.mouseEventToContainerPoint(e.touches[0]),
p2 = map.mouseEventToContainerPoint(e.touches[1]);
var p1 = map.mouseEventToLayerPoint(e.touches[0]),
p2 = map.mouseEventToLayerPoint(e.touches[1]);
this._scale = p1.distanceTo(p2) / this._startDist;
this._delta = p1.add(p2).divideBy(2, true).subtract(this._startCenter);

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long