From 088dd71754d6979d028200a7b0365a4d445b99a6 Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Wed, 9 Aug 2006 14:37:21 +0000 Subject: [PATCH] Moved declaration of mouseDragStart property from Map to Control. git-svn-id: http://svn.openlayers.org/trunk/openlayers@1158 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control.js | 3 +++ lib/OpenLayers/Map.js | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/OpenLayers/Control.js b/lib/OpenLayers/Control.js index 442132bc1d..75cb6dbfe2 100644 --- a/lib/OpenLayers/Control.js +++ b/lib/OpenLayers/Control.js @@ -18,6 +18,9 @@ OpenLayers.Control.prototype = { /** @type OpenLayers.Pixel */ position: null, + /** @type OpenLayers.Pixel */ + mouseDragStart: null, + /** * @constructor * diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 5f575a7e7e..4b2b239760 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -63,8 +63,6 @@ OpenLayers.Map.prototype = { /** @type Array(OpenLayers.Popup) */ popups: null, - - /** The currently selected base layer - this determines min/max zoom level, * projection, etc. * @@ -77,10 +75,6 @@ OpenLayers.Map.prototype = { /** @type int */ zoom: 0, - /** @type OpenLayers.Pixel */ - mouseDragStart: null, - - // Options /** @type String */