I am new to Openlayers and not sure if this question falls in scope of Openlayers or Geoserver. I am showing some poi data in the form of layers on my map.
The requirement is that a user can draw a circle or a polygon anywhere on the map and I have to pull out all the POIs within this region.
I am not sure how it can be implemented. I am using createRegularPolygon to create circle or polygon, but not sure how it can fetch the features within a circle. Any inputs?