From 936a7698692037e919442a1cbd693ea63acc7ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Sat, 29 Sep 2012 13:47:00 +0200 Subject: [PATCH] Fix typo in ShiftDragZoom (caught by @ahocevar) --- src/ol/interaction/shiftdragzoom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/interaction/shiftdragzoom.js b/src/ol/interaction/shiftdragzoom.js index 2a83171036..7086ea0dc3 100644 --- a/src/ol/interaction/shiftdragzoom.js +++ b/src/ol/interaction/shiftdragzoom.js @@ -48,7 +48,7 @@ goog.inherits(ol.interaction.ShiftDragZoom, ol.interaction.Drag); ol.interaction.ShiftDragZoom.prototype.handleDragEnd = function(mapBrowserEvent) { this.dragBox_.setMap(null); - this.dragBox = null; + this.dragBox_ = null; if (this.deltaX * this.deltaX + this.deltaY * this.deltaY >= ol.SHIFT_DRAG_ZOOM_HYSTERESIS_PIXELS_SQUARED) { var map = mapBrowserEvent.map;