Hi to everyone. I'm using this piece of code to make a getfeatureinfo request:

info = new OpenLayers.Control.WMSGetFeatureInfo({
  url: 'dir/smms/wms.php',
            title: 'Identify features by clicking',
            queryVisible: true,
                eventListeners: {
                getfeatureinfo: function(event) {
                                map.addPopup(new OpenLayers.Popup.FramedCloud(
                        "myagri", 
                        map.getLonLatFromPixel(event.xy),
                        null,
                        event.text,
                        null,
                        true
                    ));
                }
                }
        });
        map.addControl(info);
        info.activate();
And it works fine, I get my info back as I need it, but I have to send some 
extra parameters with getfeatureinfo request for example ''REPORT":"YES" but I 
don't know how to do it. Any help will be appreciated, and if everyone can 
suggest me a better way to do the features request that would be great. Thanks 
in advance.


      
____________________________________________________________________________________
¡Obtén la mejor experiencia en la web!
Descarga gratis el nuevo Internet Explorer 8. 
http://downloads.yahoo.com/ieak8/?l=e1
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to