It's hard to be cure what's up as I don't really understand what you are
doing in several parts of the code. But I'd start by changing your layer
definition to:
inos_1990 = new OpenLayers.Layer.WMS( "INOS 1990 fastland",
"
http://localhost/geoserver/wms?service=wms",
{
layers: 'inos:inos_1990',
styles: '',
srs: 'EPSG:900913',
format: format,
transparent: "true"
},
{opacity:0.5,
singleTile: true, ratio: 1 ,
isBaseLayer: false, visibility: true}
);
As the WMS constructor only takes 4 parameters, name, url, WMS parameters,
OL options.
Ian
--
Ian Turton
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users