[fusion-commits] r1627 - trunk/MapGuide
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Oct 30 17:10:55 EDT 2008
Author: madair
Date: 2008-10-30 17:10:54 -0400 (Thu, 30 Oct 2008)
New Revision: 1627
Modified:
trunk/MapGuide/MapGuide.js
Log:
re #120: set useOverlay to default to true; prevent redrawing the map after a selection
Modified: trunk/MapGuide/MapGuide.js
===================================================================
--- trunk/MapGuide/MapGuide.js 2008-10-30 20:20:48 UTC (rev 1626)
+++ trunk/MapGuide/MapGuide.js 2008-10-30 21:10:54 UTC (rev 1627)
@@ -47,7 +47,7 @@
bMapLoaded: false,
bIsMapWidgetLayer: true, //Set this to false for overview map layers
bLayersReversed: false, //MGOS returns layers top-most layer first
- selectionAsOverlay: false,
+ selectionAsOverlay: true,
//the resource id of the current MapDefinition
_sResourceId: null,
@@ -530,9 +530,11 @@
this.aHideGroups = [];
this.aRefreshLayers = [];
- this.oLayerOL.mergeNewParams(params);
-
- if (this.queryLayer) this.queryLayer.redraw(true);
+ if (this.queryLayer) {
+ this.queryLayer.redraw(true);
+ } else {
+ this.oLayerOL.mergeNewParams(params);
+ }
},
/**
@@ -594,6 +596,7 @@
params.selectioncolor = this.selectionColor;
params.format = this.selectionFormat;
}
+ //params.version = "2.0.0";
} else {
params = { //tiled version
More information about the fusion-commits
mailing list