On Monday, January 18, 2010, David Alda Fernandez de Lezea wrote:
>
>
>
>
>
>
>
> Hello,
>
> I'm trying to have an
> Openlayers.WMS layer that should containĀ 2 WMS layers, served by MapServer,
> using the following code (in theory this is possible):
>
> var twms = new
> OpenLayers.Layer.WMS( "Sigp
David Alda Fernandez de Lezea wrote:
> Hello,
>
> I'm trying to have an Openlayers.WMS layer that should contain 2 WMS
> layers, served by MapServer, using the following code (in theory this
> is possible):
>
> var twms = new OpenLayers.Layer.WMS( "Sigpac",
>
> "http://192.168.1.65/cgi-bi
CC: openlayers users
Asunto: Re: [OpenLayers-Users] How to have multiple wms layers into one
Openlayers.WMS layer
Hi,
Maybe, your WMS server doesn't like the space in your layers param.
Try with 'ParcelasSigpac,RecintosSigpac' instead of 'ParcelasSigpac,
RecintosSigpac
Hi David,
For me it works when I do it like this:
map.addLayer(
new OpenLayers.Layer.WMS(
"Niedersachsen WMS",
"http://www.geobasisdaten.niedersachsen.de/bestand";,
{layers: 'ueb5000_nf,ueb1000_nf,ukn500_nf,dtk100_v_nf'},
{singleTile:true}
)
);
cheers, Marco
Am 18.01.201
Hello,
I'm trying to have an Openlayers.WMS layer that should contain 2 WMS layers,
served by MapServer, using the following code (in theory this is possible):
var twms = new OpenLayers.Layer.WMS( "Sigpac",
"http://192.168.1.65/cgi-bin/mapserv.exe?map=../htdocs/MFD/ejemplo_wms.map";,