Mercurial > dive4elements > gnv-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
583:2f3d885fed09 | 584:b31e81f35b64 |
---|---|
27 map = new OpenLayers.Map('map'); | 27 map = new OpenLayers.Map('map'); |
28 layer = new OpenLayers.Layer.WMS( | 28 layer = new OpenLayers.Layer.WMS( |
29 "MyWMS", | 29 "MyWMS", |
30 "http://denmark.atlas/cgi-bin/mapserv-gp?MAP=/opt/artifacts/mapfiles/mapfile.map", | 30 "http://denmark.atlas/cgi-bin/mapserv-gp?MAP=/opt/artifacts/mapfiles/mapfile.map", |
31 { | 31 { |
32 layers: getURLParam("layer") | 32 layers: getURLParam("layer"), |
33 format: 'image/png' | |
33 }, | 34 }, |
34 { | 35 { |
35 singleTile: 'true' | 36 singleTile: 'true' |
36 } | 37 } |
37 ); | 38 ); |
74 </div> | 75 </div> |
75 <div id="page"> | 76 <div id="page"> |
76 <jsp:include page="header.jsp" /> | 77 <jsp:include page="header.jsp" /> |
77 <jsp:include page="index.jsp" /> | 78 <jsp:include page="index.jsp" /> |
78 <jsp:include page="footer.jsp" /> | 79 <jsp:include page="footer.jsp" /> |
80 | |
81 <div id="map"></div> | |
79 </div> | 82 </div> |
80 </body> | 83 </body> |
81 </html> | 84 </html> |