Hi

I'm new to Geoserver and need to create a search functionality that will
search based on a field in my shapefile.

Found a layer search control that does what I want, but I'm struggling to
implement it and hoped for some advice.
Please see:
https://github.com/webgeodatavore/ol3-search-layer

I tried implementing it but it fails when it tries to call getFeatures() on
a layer source (gives an error that the source is undefined or that
getFeatures is not a function). From what I understand I need a Vector or
ImageVector, but geoserver uses TileWMS and ImageWMS. Is there any way to
achieve a similar search control or functionality?

Thank you in advance
Kind regards
Vicky
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to