Do not render in handleDownEvent

This commit is contained in:
Andreas Hocevar
2015-12-18 18:21:32 +01:00
parent dad58ba622
commit 552063aeac
7 changed files with 0 additions and 12 deletions
@@ -98,7 +98,6 @@ ol.interaction.PinchZoom.handleDragEvent_ = function(mapBrowserEvent) {
this.anchor_ = map.getCoordinateFromPixel(centroid);
// scale, bypass the resolution constraint
map.render();
ol.interaction.Interaction.zoomWithoutConstraints(
map, view, resolution * scaleDelta, this.anchor_);
@@ -145,7 +144,6 @@ ol.interaction.PinchZoom.handleDownEvent_ = function(mapBrowserEvent) {
if (!this.handlingDownUpSequence) {
map.getView().setHint(ol.ViewHint.INTERACTING, 1);
}
map.render();
return true;
} else {
return false;