Hi, maybe the following sandbox is informative:
http://dev.openlayers.org/sandbox/bartvde/wmsgetfeatureinfo/openlayers/examples/featureinfo-control.html the proxy is not setup correctly in the sandbox so it won't actually work, but if you run it locally with a local proxy.cgi script it should do the job. Best regards, Bart Semantica wrote: > Hi all, > > Does anyone have an example of adding a query button to a control panel? I > want to add a button that when clicked toggles query mode (e.g. maps > single-click event to a function that will do a getFeatureInfo). Clicking > again will deactivate query mode. > > I have the getFeatureInfo working already but am unsure as to how to wire up > the controls... > > Thank you in advance!!! > -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users