I guess these lines follow your code... map.addControl(info); info.activate();
If you don't specify any url: parameter does it work? I created this control following this example and it is working well Feature Info Example Steve Kiks <enrico.o...@gmail.com>@openlayers.org Envoyé par : users-boun...@openlayers.org 30/07/2010 11:04 AM A users@openlayers.org cc Objet [Polluriel potentiel] [OpenLayers-Users] WMS getFeatureInfo Popup I followed the OpenLayers dev example "Feature info in popup" to get info about my Parcels layer, adding these lines to my html working page: info = new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://"+host+"/mapserverms4w/mapserv.exe', title: 'Identify features by clicking', queryVisible: true, eventListeners: { getfeatureinfo: function(event) { map.addPopup(new OpenLayers.Popup.FramedCloud( "chicken", map.getLonLatFromPixel(event.xy), null, event.text, null, true )); } } }); The WMS Server reply correctly if I try a manual request via browser, but if load the openlayers html page and I click over the layer, nothing happens, and it seems that the event is ignored. Any ideas? Kiks -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-getFeatureInfo-Popup-tp5355333p5355333.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users