[OpenLayers-Commits] r11653 -
trunk/openlayers/lib/OpenLayers/Control
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Mon Mar 7 09:33:50 EST 2011
Author: fredj
Date: 2011-03-07 06:33:48 -0800 (Mon, 07 Mar 2011)
New Revision: 11653
Modified:
trunk/openlayers/lib/OpenLayers/Control/ArgParser.js
trunk/openlayers/lib/OpenLayers/Control/Attribution.js
trunk/openlayers/lib/OpenLayers/Control/KeyboardDefaults.js
trunk/openlayers/lib/OpenLayers/Control/MousePosition.js
trunk/openlayers/lib/OpenLayers/Control/PanZoomBar.js
trunk/openlayers/lib/OpenLayers/Control/ScaleLine.js
Log:
re-add the Constructor API doc removed in r11610 (see #3146)
Modified: trunk/openlayers/lib/OpenLayers/Control/ArgParser.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/ArgParser.js 2011-03-07 14:13:32 UTC (rev 11652)
+++ trunk/openlayers/lib/OpenLayers/Control/ArgParser.js 2011-03-07 14:33:48 UTC (rev 11653)
@@ -54,6 +54,16 @@
*/
displayProjection: null,
+ /**
+ * Constructor: OpenLayers.Control.ArgParser
+ *
+ * Parameters:
+ * options - {Object}
+ */
+
+ /**
+ * Method: getParameters
+ */
getParameters: function(url) {
url = url || window.location.href;
var parameters = OpenLayers.Util.getParameters(url);
Modified: trunk/openlayers/lib/OpenLayers/Control/Attribution.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/Attribution.js 2011-03-07 14:13:32 UTC (rev 11652)
+++ trunk/openlayers/lib/OpenLayers/Control/Attribution.js 2011-03-07 14:33:48 UTC (rev 11653)
@@ -24,6 +24,13 @@
*/
separator: ", ",
+ /**
+ * Constructor: OpenLayers.Control.Attribution
+ *
+ * Parameters:
+ * options - {Object} Options for control.
+ */
+
/**
* Method: destroy
* Destroy control.
Modified: trunk/openlayers/lib/OpenLayers/Control/KeyboardDefaults.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/KeyboardDefaults.js 2011-03-07 14:13:32 UTC (rev 11652)
+++ trunk/openlayers/lib/OpenLayers/Control/KeyboardDefaults.js 2011-03-07 14:33:48 UTC (rev 11653)
@@ -33,6 +33,10 @@
* Pixels to slide by.
*/
slideFactor: 75,
+
+ /**
+ * Constructor: OpenLayers.Control.KeyboardDefaults
+ */
/**
* APIMethod: destroy
Modified: trunk/openlayers/lib/OpenLayers/Control/MousePosition.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/MousePosition.js 2011-03-07 14:13:32 UTC (rev 11652)
+++ trunk/openlayers/lib/OpenLayers/Control/MousePosition.js 2011-03-07 14:33:48 UTC (rev 11653)
@@ -82,6 +82,13 @@
displayProjection: null,
/**
+ * Constructor: OpenLayers.Control.MousePosition
+ *
+ * Parameters:
+ * options - {Object} Options for control.
+ */
+
+ /**
* Method: destroy
*/
destroy: function() {
Modified: trunk/openlayers/lib/OpenLayers/Control/PanZoomBar.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/PanZoomBar.js 2011-03-07 14:13:32 UTC (rev 11652)
+++ trunk/openlayers/lib/OpenLayers/Control/PanZoomBar.js 2011-03-07 14:33:48 UTC (rev 11653)
@@ -85,6 +85,10 @@
zoomStart: null,
/**
+ * Constructor: OpenLayers.Control.PanZoomBar
+ */
+
+ /**
* APIMethod: destroy
*/
destroy: function() {
Modified: trunk/openlayers/lib/OpenLayers/Control/ScaleLine.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Control/ScaleLine.js 2011-03-07 14:13:32 UTC (rev 11652)
+++ trunk/openlayers/lib/OpenLayers/Control/ScaleLine.js 2011-03-07 14:33:48 UTC (rev 11653)
@@ -73,6 +73,15 @@
geodesic: false,
/**
+ * Constructor: OpenLayers.Control.ScaleLine
+ * Create a new scale line control.
+ *
+ * Parameters:
+ * options - {Object} An optional object whose properties will be used
+ * to extend the control.
+ */
+
+ /**
* Method: draw
*
* Returns:
More information about the Commits
mailing list