[OpenLayers-Users] Colons in layer names

AmericanBwana dgertsch at gmuresearch.com
Sun May 3 12:18:16 EDT 2009


Good morning,
I'd like to use a WMS layer, but it has a colon in it. How do escape it?

Here is a snippet of my file

    var fsroads = new OpenLayers.Layer.WMS("FS Roads & Trails", 
       
"http://columbo.nrlssc.navy.mil/ogcwms/servlet/WMSServlet/USDA_Forest_Service_Geodata_Clearinghouse.wms?",
        {layers: '1:3', transparent: true, format: 'image/png'},
        {isBaseLayer: false}

I've tried '1:3', and "1:3"

Here is the site I'm trying to use. 
http://columbo.nrlssc.navy.mil/ogcwms/servlet/WMSServlet/USDA_Forest_Service_Geodata_Clearinghouse.wms?SERVICE=WMS&REQUEST=GetCapabilities


Thank you.

-- 
View this message in context: http://n2.nabble.com/Colons-in-layer-names-tp2778148p2778148.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list