diff --git a/src/ol/interaction/extent.js b/src/ol/interaction/extent.js index 1e414d9fc4..fc25d9e051 100644 --- a/src/ol/interaction/extent.js +++ b/src/ol/interaction/extent.js @@ -87,13 +87,6 @@ ol.interaction.Extent = function(opt_options) { */ this.pixelTolerance_ = 10; - /** - * Last known pixel coordinate of the pointer - * @type {ol.Pixel} - * @private - */ - this.lastPixel_ = null; - /** * Is the pointer snapped to an extent vertex * @type {boolean} @@ -251,7 +244,6 @@ ol.interaction.Extent.handleDownEvent_ = function(mapBrowserEvent) { * @private */ ol.interaction.Extent.handleDragEvent_ = function(mapBrowserEvent) { - this.lastPixel_ = mapBrowserEvent.pixel; if (this.pointerHandler_) { var pixelCoordinate = mapBrowserEvent.coordinate; this.setExtent(this.pointerHandler_(pixelCoordinate));