[fusion-commits] r1892 - trunk/layers/MapGuide
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Aug 12 13:26:12 EDT 2009
Author: zjames
Date: 2009-08-12 13:26:12 -0400 (Wed, 12 Aug 2009)
New Revision: 1892
Modified:
trunk/layers/MapGuide/MapGuide.js
Log:
fixes #219: selection not highlighted with tiled base layer
Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js 2009-08-12 15:53:56 UTC (rev 1891)
+++ trunk/layers/MapGuide/MapGuide.js 2009-08-12 17:26:12 UTC (rev 1892)
@@ -586,6 +586,7 @@
if (behavior == 5) {
params.selectioncolor = this.selectionColor;
params.format = this.selectionFormat;
+ layerOptions.isBaseLayer = false;
}
} else {
@@ -899,7 +900,7 @@
if (oNode.hasSelection) {
if (this.selectionAsOverlay) {
if (!this.queryLayer) {
- this.queryLayer = this.createOLLayer("query layer", false, true, 5);
+ this.queryLayer = this.createOLLayer("query layer", true, 5);
this.mapWidget.oMapOL.addLayer(this.queryLayer);
this.mapWidget.registerForEvent(Fusion.Event.MAP_LOADING,
OpenLayers.Function.bind(this.removeQueryLayer, this));
More information about the fusion-commits
mailing list