[fusion-commits] r1808 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Mar 4 15:51:24 EST 2009
Author: pdeschamps
Date: 2009-03-04 15:51:24 -0500 (Wed, 04 Mar 2009)
New Revision: 1808
Modified:
trunk/widgets/ScalebarDual.js
Log:
reverted to last edit
Modified: trunk/widgets/ScalebarDual.js
===================================================================
--- trunk/widgets/ScalebarDual.js 2009-03-04 20:45:08 UTC (rev 1807)
+++ trunk/widgets/ScalebarDual.js 2009-03-04 20:51:24 UTC (rev 1808)
@@ -34,8 +34,8 @@
initializeWidget: function(widgetTag) {
var json = widgetTag.extension;
var maxWidth = json.MaxWidth ? parseInt(json.MaxWidth[0]) : 300;
- var topInUnits = json.TopInUnits ? json.TopInUnits[0] : 'in';
- var topOutUnits = json.TopOutUnits ? json.TopOutUnits[0] : 'cm';
+ var topInUnits = json.TopInUnits ? json.TopInUnits[0] : 'ft';
+ var topOutUnits = json.TopOutUnits ? json.TopOutUnits[0] : 'mi';
var bottomInUnits = json.BottomInUnits ? json.BottomInUnits[0] : 'm';
var bottomOutUnits = json.BottomOutUnits ? json.BottomOutUnits[0] : 'km';
var options = { //set these from widgetTag extension
More information about the fusion-commits
mailing list