Mercurial > dive4elements > gnv-client
diff gnv/src/main/webapp/scripts/olutils.jsp @ 1016:3665834344a8
Issue317: Provide a Comboboy with given WMS instead of an Textfield
gnv/trunk@1244 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 29 Jun 2010 15:41:10 +0000 |
parents | f55692e3e0ce |
children |
line wrap: on
line diff
--- a/gnv/src/main/webapp/scripts/olutils.jsp Tue Jun 29 06:25:28 2010 +0000 +++ b/gnv/src/main/webapp/scripts/olutils.jsp Tue Jun 29 15:41:10 2010 +0000 @@ -97,7 +97,6 @@ format: "image/png", transparent: true }); - copy.singletile = true; mapPanel.layers.add(copy); } } @@ -126,16 +125,18 @@ function updateCapabilities() { - var ele = Ext.Element.get('capfield'); - var url = ele.getValue(); + var url = capfield.getValue(); var service = "SERVICE=WMS"; var request = "REQUEST=GetCapabilities"; + var version = "VERSION=1.1.1"; url = urlAppend(url, service); url = urlAppend(url, request); + url = urlAppend(url, version); store = new GeoExt.data.WMSCapabilitiesStore({ - url: url + url: url, + layerOptions: {singleTile: true} }); store.load({ callback: showWarning