From 9f7a0ed4483a3c6b47e21136237ad812a860e5b1 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Thu, 7 Feb 2013 09:44:04 +0100 Subject: [PATCH] Remove end-of-line whitespace. --- lib/OpenLayers/Control/Measure.js | 34 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/lib/OpenLayers/Control/Measure.js b/lib/OpenLayers/Control/Measure.js index f0fb89d855..03c22b8c1c 100644 --- a/lib/OpenLayers/Control/Measure.js +++ b/lib/OpenLayers/Control/Measure.js @@ -1,4 +1,4 @@ -/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for +/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the 2-clause BSD license. * See license.txt in the OpenLayers distribution or repository for the * full text of the license. */ @@ -17,7 +17,7 @@ */ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { - /** + /** * APIProperty: events * {} Events instance for listeners and triggering * control specific events. @@ -41,20 +41,20 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { * APIProperty: handlerOptions * {Object} Used to set non-default properties on the control's handler */ - + /** * Property: callbacks * {Object} The functions that are sent to the handler for callback */ callbacks: null, - + /** * APIProperty: displaySystem * {String} Display system for output measurements. Supported values * are 'english', 'metric', and 'geographic'. Default is 'metric'. */ displaySystem: 'metric', - + /** * APIProperty: geodesic * {Boolean} Calculate geodesic metrics instead of planar metrics. This @@ -62,7 +62,7 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { * (if that is not already the map projection). Default is false. */ geodesic: false, - + /** * Property: displaySystemUnits * {Object} Units for various measurement systems. Values are arrays @@ -111,10 +111,10 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { /** * Constructor: OpenLayers.Control.Measure - * + * * Parameters: - * handler - {} - * options - {Object} + * handler - {} + * options - {Object} */ initialize: function(handler, options) { OpenLayers.Control.prototype.initialize.apply(this, [options]); @@ -125,14 +125,14 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { } this.callbacks = OpenLayers.Util.extend(callbacks, this.callbacks); - // let the handler options override, so old code that passes 'persist' + // let the handler options override, so old code that passes 'persist' // directly to the handler does not need an update this.handlerOptions = OpenLayers.Util.extend( {persist: this.persist}, this.handlerOptions ); this.handler = new handler(this, this.callbacks, this.handlerOptions); }, - + /** * APIMethod: deactivate */ @@ -164,7 +164,7 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { delete this.callbacks.modify; } }, - + /** * Method: updateHandler * @@ -194,7 +194,7 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { this.cancelDelay(); this.measure(geometry, "measure"); }, - + /** * Method: measurePartial * Called each time a new point is added to the measurement sketch. @@ -225,7 +225,7 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { /** * Method: measureImmediate * Called each time the measurement sketch is modified. - * + * * Parameters: * point - {} The point at the mouse position. * feature - {} The sketch feature. @@ -272,7 +272,7 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { geometry: geometry }); }, - + /** * Method: getBestArea * Based on the returns the area of a geometry. @@ -296,7 +296,7 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { } return [area, unit]; }, - + /** * Method: getArea * @@ -323,7 +323,7 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { } return area; }, - + /** * Method: getBestLength * Based on the returns the length of a geometry.