Mercurial > dive4elements > gnv-client
changeset 698:d7b005107443
Adapted background layer config
gnv/trunk@929 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Hans Plum <hans.plum@intevation.de> |
---|---|
date | Wed, 14 Apr 2010 17:57:26 +0000 |
parents | d2582f75b144 |
children | af22fa5567a6 |
files | gnv/ChangeLog gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp |
diffstat | 2 files changed, 8 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv/ChangeLog Wed Apr 14 16:05:32 2010 +0000 +++ b/gnv/ChangeLog Wed Apr 14 17:57:26 2010 +0000 @@ -1,3 +1,9 @@ +2010-04-14 Hans Plum <hans@intevation.de> + + * src/main/webapp/WEB-INF/jsp/wmslayout.jsp: + Adapted background layers to a global and local visibale layer (World + Relief (2 Minute Raster) + 2010-04-14 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/resources/applicationMessages.properties,
--- a/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp Wed Apr 14 16:05:32 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp Wed Apr 14 17:57:26 2010 +0000 @@ -38,7 +38,7 @@ "Background1", "http://gdisrv.bsh.de/arcgis/services/Background/Background/MapServer/WMSServer?", { - layers: '16', + layers: '0', format: 'image/png', transparent: false }, @@ -48,19 +48,6 @@ } ); - var back2 = new OpenLayers.Layer.WMS( - "Background1", - "http://gdisrv.bsh.de/arcgis/services/Background/Background/MapServer/WMSServer?", - { - layers: '4', - format: 'image/png', - transparent: true - }, - { - singleTile: 'true' - } - ); - layer = new OpenLayers.Layer.WMS( "MyWMS", server, @@ -74,7 +61,7 @@ } ); - map.addLayers([back1, back2, layer]); + map.addLayers([back1, layer]); map.setCenter(new OpenLayers.LonLat(lon, lat), zoom); <%}%>