[fusion-commits] r1809 - trunk/layers/MapGuide
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Mar 5 10:53:46 EST 2009
Author: madair
Date: 2009-03-05 10:53:45 -0500 (Thu, 05 Mar 2009)
New Revision: 1809
Modified:
trunk/layers/MapGuide/MapGuide.js
Log:
re #220: set alpha option on MG layers for PNG transparency in IE6
Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js 2009-03-04 20:51:24 UTC (rev 1808)
+++ trunk/layers/MapGuide/MapGuide.js 2009-03-05 15:53:45 UTC (rev 1809)
@@ -595,6 +595,11 @@
};
}
+ //Fix for IE6 PNG transparency
+ if (params.format && params.format.toLowerCase().indexOf('png') >= 0) {
+ layerOptions.alpha = true;
+ }
+
var url = Fusion.getConfigurationItem('mapguide', 'mapAgentUrl');
var oLayerOL = new OpenLayers.Layer.MapGuide( layerName, url, params, layerOptions );
return oLayerOL;
More information about the fusion-commits
mailing list