diff gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp @ 584:b31e81f35b64

Adjusted rendering of OpenLayers client. gnv/trunk@732 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 04 Mar 2010 14:27:26 +0000
parents 3f7bbc6dc751
children 2e690cb2247c
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp	Tue Mar 02 14:55:29 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp	Thu Mar 04 14:27:26 2010 +0000
@@ -29,7 +29,8 @@
                         "MyWMS",
                         "http://denmark.atlas/cgi-bin/mapserv-gp?MAP=/opt/artifacts/mapfiles/mapfile.map",
                         {
-                            layers: getURLParam("layer")
+                            layers: getURLParam("layer"),
+                            format: 'image/png'
                         },
                         {
                             singleTile: 'true'
@@ -76,6 +77,8 @@
         <jsp:include page="header.jsp" />
          <jsp:include page="index.jsp" />
         <jsp:include page="footer.jsp" />
+
+        <div id="map"></div>
     </div>
     </body>
 </html>

http://dive4elements.wald.intevation.org