[fusion-commits] r1748 - trunk/layers/MapGuide
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Mon Jan 26 11:24:06 EST 2009
Author: madair
Date: 2009-01-26 11:24:06 -0500 (Mon, 26 Jan 2009)
New Revision: 1748
Modified:
trunk/layers/MapGuide/MapGuide.js
Log:
closes #201: patch applied to trunk
Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js 2009-01-23 21:47:43 UTC (rev 1747)
+++ trunk/layers/MapGuide/MapGuide.js 2009-01-26 16:24:06 UTC (rev 1748)
@@ -51,6 +51,8 @@
var newTheme = Fusion.getQueryParam('theme');
if (newTheme != '') {
this.sMapResourceId = newTheme;
+ //clear the query param after it has been used once
+ Fusion.queryParams['theme'] = null;
}
this.registerEventID(Fusion.Event.MAP_SESSION_CREATED);
@@ -138,9 +140,13 @@
var options = {};
if (this.bIsMapWidgetLayer) {
var showlayers = Fusion.getQueryParam('showlayers');
+ Fusion.queryParams['showlayers'] = null;
var hidelayers = Fusion.getQueryParam('hidelayers');
+ Fusion.queryParams['hidelayers'] = null;
var showgroups = Fusion.getQueryParam('showgroups');
+ Fusion.queryParams['showgroups'] = null;
var hidegroups = Fusion.getQueryParam('hidegroups');
+ Fusion.queryParams['hidegroups'] = null;
var options = {
showlayers: showlayers == '' ? [] : showlayers.split(','),
hidelayers: hidelayers == '' ? [] : hidelayers.split(','),
More information about the fusion-commits
mailing list