[OpenLayers-Users] searching a feature with open layers

Eric Lemoine eric.c2c at gmail.com
Wed Nov 14 14:42:46 EST 2007


On Nov 13, 2007 1:19 PM, goeserver developer <bjoice at firstam.com> wrote:
>
> Hi,
>
> How can I include a search ? I am displaying the topp:states layer along
> with google map with openlayers. I also want to include a textbox where I
> can key in the state name to search. How will geoserver do the WFS part?
> Can it be done with Geojson.

I'm not sure I fully understand your need, but you may be interested
in this example:
<http://www.openlayers.org/dev/examples/getfeatureinfo.html>. WMS
GetFeatureInfo is used on each click in this example.

--
Eric



More information about the Users mailing list