[OpenLayers-Users] WMS Spherical Mercator layer displays as base layer but not as toggle layer

mcarsel carsella11 at msn.com
Thu Sep 20 13:29:07 EDT 2007


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.




More information about the Users mailing list