Mercurial > dive4elements > gnv-client
diff gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp @ 707:cb1bae26e7ae
Adapted MapServer path in the gui with http request parameters for calling GetCapabilites (issue237).
gnv/trunk@976 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 23 Apr 2010 13:22:12 +0000 |
parents | d7b005107443 |
children | 5f29bfeb61bd |
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp Fri Apr 23 07:55:05 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp Fri Apr 23 13:22:12 2010 +0000 @@ -33,7 +33,7 @@ function init() { <%if(request.getAttribute("wms_published") != null){ %> map = new OpenLayers.Map('map'); - var server = '<%=serverPath%>?MAP=<%=mapfilePath%>'; + var server = '<%=serverPath%>'; var back1 = new OpenLayers.Layer.WMS( "Background1", "http://gdisrv.bsh.de/arcgis/services/Background/Background/MapServer/WMSServer?", @@ -114,7 +114,7 @@ <table> <tr> <td class="parameter"><bean:message key="gnviewer.wms.server.path"/>:</td> - <td class="wmsvalue"><%=serverPath%>?MAP=<%=mapfilePath%></td> + <td class="wmsvalue"><%=serverPath%>?SERVICE=WMS&REQUEST=GetCapabilities</td> </tr> <tr> <td class="parameter"><bean:message key="gnviewer.wms.server.layer"/>:</td>