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;