From d863cff28d84acb09acfdceca8c05875a9447aa6 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 5 Sep 2016 09:12:06 +0200 Subject: [PATCH] Remove unused lastPixel_ in ol.interaction.Extent --- src/ol/interaction/extent.js | 8 -------- 1 file changed, 8 deletions(-) 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));