Changeset 2423
- Timestamp:
- 09/29/10 14:42:06 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
extensions/geoext.ux/ux/Measure/lib/GeoExt.ux/MeasureArea.js
r2297 r2423 42 42 * to display the measure. Optional. 43 43 */ 44 45 /** api: config[tooltip] 46 * ``String`` The tooltip for the button. Defaults to "Area measurement". 47 */ 48 tooltip: 'Area measurement', 44 49 45 50 /** private: method[constructor] … … 49 54 handlerClass: OpenLayers.Handler.Polygon, 50 55 iconCls: 'gx-map-measurearea', 51 tooltip: "Area measurement",56 tooltip: this.tooltip, 52 57 template: '<p>{[values.measure.toFixed(this.decimals)]} '+ 53 58 '{units}<sup>2</sup></p>' extensions/geoext.ux/ux/Measure/lib/GeoExt.ux/MeasureLength.js
r2297 r2423 42 42 * to display the measure. Optional. 43 43 */ 44 45 /** api: config[tooltip] 46 * ``String`` The tooltip for the button. Defaults to "Length measurement". 47 */ 48 tooltip: 'Length measurement', 44 49 45 50 /** private: method[constructor] … … 49 54 handlerClass: OpenLayers.Handler.Path, 50 55 iconCls: 'gx-map-measurelength', 51 tooltip: "Length measurement",56 tooltip: this.tooltip, 52 57 template: '<p>{[values.measure.toFixed(this.decimals)]} '+ 53 58 '{units}</p>'