|
Hi, i have a problem with WMSGetFeatureInfo. I want to show the response from the geoserver in a popup-window. CODE: var featureInfo = new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://sfb806srv.uni-koeln.de:8080/geoserver/wms', title: 'Info:', maxFeatures: 1, queryVisible: true, eventListeners: { getfeatureinfo: function(event){ //if( event.text != "\n" && event.text != "") { new GeoExt.Popup({ //utilizing the GeoExt popup functionality title: "Info", autoScroll: true, map: map, maximizable: false, collapsible: false, unpinnable: false, anchored: false, location: map.getLonLatFromPixel(event.xy), html: event.text }).show(); //} } } }); map.addControl(featureInfo); featureInfo.activate(); A Popopup shows up, but its empty: ![]() Firebug: Params:
Antwort-HeaderQuelltext anzeigen
Anfrage-HeaderQuelltext anzeigen
Response and HTML are empty. Some hints refered me to things like proxy.cgi and stuff. But all this didn't helped me. Why do the popup remains empty and how to fix it? Is it because i'm runnig it local? Kind regards Kai |
_______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users

