[OpenLayers-Users] Query Tool?
Bart van den Eijnden (OSGIS)
bartvde at osgis.nl
Tue Dec 23 12:07:39 EST 2008
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
bartvde at osgis.nl
http://www.osgis.nl
More information about the Users
mailing list