Mercurial > dive4elements > gnv-client
diff gnv/src/main/webapp/scripts/viewport.jsp @ 997:f55692e3e0ce
Modified output of the GetfeatureInfo-request.
gnv/trunk@1198 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 11 Jun 2010 09:25:44 +0000 |
parents | cfc7bd35ee0b |
children | 905cc67da916 |
line wrap: on
line diff
--- a/gnv/src/main/webapp/scripts/viewport.jsp Fri Jun 11 08:25:46 2010 +0000 +++ b/gnv/src/main/webapp/scripts/viewport.jsp Fri Jun 11 09:25:44 2010 +0000 @@ -75,20 +75,11 @@ queryVisible: true, infoFormat: 'application/vnd.ogc.gml', eventListeners: { - getfeatureinfo: function(event) { - mapPanel.map.addPopup(new OpenLayers.Popup.FramedCloud( - "chicken", - mapPanel.map.getLonLatFromPixel(event.xy), - null, - event.text, - null, - true - )); - } + getfeatureinfo: parseGetFeatureInfoData } }) }; - + for (var key in controls) { panel.addControls([controls[key]]); }