[fusion-commits] r1449 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Aug 6 09:43:51 EDT 2008
Author: madair
Date: 2008-08-06 09:43:48 -0400 (Wed, 06 Aug 2008)
New Revision: 1449
Modified:
trunk/widgets/ViewOptions.js
Log:
re #73: add missing setViewOptions method
Modified: trunk/widgets/ViewOptions.js
===================================================================
--- trunk/widgets/ViewOptions.js 2008-08-06 13:31:42 UTC (rev 1448)
+++ trunk/widgets/ViewOptions.js 2008-08-06 13:43:48 UTC (rev 1449)
@@ -65,8 +65,12 @@
this.oMenu.show(e);
},
+ xxxsetViewOptions: function(units) {
+ this.getMap().setViewOptions(units);
+ },
+
setMapUnits: function() {
var units = this.displayUnits ? this.displayUnits : this.getMap().getUnits();
- this.getMap().setViewOptions(units);
+ this.setViewOptions(units);
}
});
More information about the fusion-commits
mailing list