[fusion-commits] r1861 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed May 20 15:54:28 EDT 2009
Author: pagameba
Date: 2009-05-20 15:54:28 -0400 (Wed, 20 May 2009)
New Revision: 1861
Modified:
trunk/widgets/Measure.js
Log:
remove extraneous comma that screws up IE, change setDistance to setQuantity.
Modified: trunk/widgets/Measure.js
===================================================================
--- trunk/widgets/Measure.js 2009-05-20 19:53:32 UTC (rev 1860)
+++ trunk/widgets/Measure.js 2009-05-20 19:54:28 UTC (rev 1861)
@@ -129,7 +129,7 @@
"Line": {
strokeWidth: 3,
strokeOpacity: 1,
- strokeColor: "#666666",
+ strokeColor: "#666666"
},
"Polygon": {
strokeWidth: 2,
@@ -434,7 +434,7 @@
o.distance = Fusion.convert(mapUnits, this.units, o.distance);
}
- marker.setDistance(o.distance);
+ marker.setQuantity(o.distance);
this.positionMarker(marker, from, to);
this.triggerEvent(Fusion.Event.MEASURE_SEGMENT_UPDATE);
}
@@ -516,7 +516,7 @@
totalDistance += distance;
}
this.totalDistanceMarker.domObj.style.display = 'block';
- this.totalDistanceMarker.setDistance(totalDistance);
+ this.totalDistanceMarker.setQuantity(totalDistance);
}
},
More information about the fusion-commits
mailing list