From 23355abb4292346a3964a6f6667456495cac46ab Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Thu, 7 Feb 2013 09:35:53 +0100 Subject: [PATCH] Make 'geodesic' & 'displaySystem' API properties. The geodesic-property is used inside of our examples, yet isn't officially part of the public API. The displaySystem-property provides a very useful way of configuring the output of the measurements and should be promoted as well. --- lib/OpenLayers/Control/Measure.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Control/Measure.js b/lib/OpenLayers/Control/Measure.js index f37683c0be..39cae06bc8 100644 --- a/lib/OpenLayers/Control/Measure.js +++ b/lib/OpenLayers/Control/Measure.js @@ -49,14 +49,14 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, { callbacks: null, /** - * Property: displaySystem + * APIProperty: displaySystem * {String} Display system for output measurements. Supported values * are 'english', 'metric', and 'geographic'. Default is 'metric'. */ displaySystem: 'metric', /** - * Property: geodesic + * APIProperty: geodesic * {Boolean} Calculate geodesic metrics instead of planar metrics. This * requires that geometries can be transformed into Geographic/WGS84 * (if that is not already the map projection). Default is false.