[Commits] r1950 - extensions/geoext.ux/ux/Measure/lib/GeoExt.ux
commits at geoext.org
commits at geoext.org
Wed Mar 10 14:16:14 CET 2010
Author: fvanderbiest
Date: 2010-03-10 14:16:13 +0100 (Wed, 10 Mar 2010)
New Revision: 1950
Modified:
extensions/geoext.ux/ux/Measure/lib/GeoExt.ux/MeasureArea.js
extensions/geoext.ux/ux/Measure/lib/GeoExt.ux/MeasureLength.js
Log:
Measure ux: more documentation
Modified: extensions/geoext.ux/ux/Measure/lib/GeoExt.ux/MeasureArea.js
===================================================================
--- extensions/geoext.ux/ux/Measure/lib/GeoExt.ux/MeasureArea.js 2010-03-10 13:14:31 UTC (rev 1949)
+++ extensions/geoext.ux/ux/Measure/lib/GeoExt.ux/MeasureArea.js 2010-03-10 13:16:13 UTC (rev 1950)
@@ -25,7 +25,23 @@
* JSBuild: OpenLayers/Handler/Polygon.js must be included.
*/
GeoExt.ux.MeasureArea = Ext.extend(GeoExt.ux.Measure, {
+
+ /** api: config[handlerClass]
+ * ``Function`` The handler class to pass to the measure control,
+ * Defaults to ``OpenLayers.Handler.Polygon``.
+ */
+
+ /** api: config[iconCls]
+ * ``String`` The CSS class selector that specifies a background image
+ * to be used as the header icon for all components using this action
+ * Defaults to 'gx-map-measurearea'.
+ */
+ /** api: config[template]
+ * ``String`` | ``Ext.XTemplate`` HTML template, or Ext.XTemplate used
+ * to display the measure. Optional.
+ */
+
/** private: method[constructor]
*/
constructor: function(config) {
Modified: extensions/geoext.ux/ux/Measure/lib/GeoExt.ux/MeasureLength.js
===================================================================
--- extensions/geoext.ux/ux/Measure/lib/GeoExt.ux/MeasureLength.js 2010-03-10 13:14:31 UTC (rev 1949)
+++ extensions/geoext.ux/ux/Measure/lib/GeoExt.ux/MeasureLength.js 2010-03-10 13:16:13 UTC (rev 1950)
@@ -25,7 +25,23 @@
* JSBuild: OpenLayers/Handler/Path.js must be included.
*/
GeoExt.ux.MeasureLength = Ext.extend(GeoExt.ux.Measure, {
+
+ /** api: config[handlerClass]
+ * ``Function`` The handler class to pass to the measure control,
+ * Defaults to ``OpenLayers.Handler.Path``.
+ */
+
+ /** api: config[iconCls]
+ * ``String`` The CSS class selector that specifies a background image
+ * to be used as the header icon for all components using this action
+ * Defaults to 'gx-map-measurelength'.
+ */
+ /** api: config[template]
+ * ``String`` | ``Ext.XTemplate`` HTML template, or Ext.XTemplate used
+ * to display the measure. Optional.
+ */
+
/** private: method[constructor]
*/
constructor: function(config) {
More information about the Commits
mailing list