I have a WMS layer on my MGOS server in spherical mercator coordinates. It
displays in OpenLayers as a base layer perfectly. However, if I set
isBaseLayer:false, it doesn't display and I get pink tiles.
spLayer = new OpenLayers.Layer.WMS.Untiled( "SP Merc",
"http://server/mapguide/mapagent/mapagent.fcgi?",
{ service:'wms', transparent:true, layers:'co_spmerc',
format:'image/png', width:'512',
height:'512'},
{singleTile:false, buffer:0, isBaseLayer:true, maxZoomLevel:19
});
map.addLayer(spLayer);
Trying to overlay WMS layer on Google. Anyone know how to solve this one?
I'm using OpenLayers 2.5RC1
--
View this message in context:
http://www.nabble.com/WMS-Spherical-Mercator-layer-displays-as-base-layer-but-not-as-toggle-layer-tf4488971.html#a12801990
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users