diff gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp @ 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 cb1bae26e7ae
line wrap: on
line diff
--- 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);
                 <%}%>
 

http://dive4elements.wald.intevation.org