[fusion-commits] r1575 - trunk/MapGuide
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue Sep 30 11:30:50 EDT 2008
Author: pagameba
Date: 2008-09-30 11:30:50 -0400 (Tue, 30 Sep 2008)
New Revision: 1575
Modified:
trunk/MapGuide/MapGuide.js
Log:
re #120, make selectionasoverlay the default case and turn it off if explicitly requested in the app def.
Modified: trunk/MapGuide/MapGuide.js
===================================================================
--- trunk/MapGuide/MapGuide.js 2008-09-30 15:20:44 UTC (rev 1574)
+++ trunk/MapGuide/MapGuide.js 2008-09-30 15:30:50 UTC (rev 1575)
@@ -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,
@@ -73,8 +73,8 @@
this.selectionType = extension.SelectionType ? extension.SelectionType[0] : 'INTERSECTS';
this.selectionColor = extension.SelectionColor ? extension.SelectionColor[0] : '';
this.selectionFormat = extension.SelectionFormat ? extension.SelectionFormat[0] : 'PNG';
- if (extension.SelectionAsOverlay && extension.SelectionAsOverlay[0] == 'true') {
- this.selectionAsOverlay = true;
+ if (extension.SelectionAsOverlay && extension.SelectionAsOverlay[0] == 'false') {
+ this.selectionAsOverlay = false;
}
this.ratio = extension.MapRatio ? extension.MapRatio[0] : 1.0;
More information about the fusion-commits
mailing list