After plotting some points on an open layer map using geo position coordinates, I am now looking to draw a rectangle on the map. The next step is to retrieve all the coordinates that fall within this rectangle.
Explore this link for more information on drawing shapes on OpenLayers.
My goal is to obtain the positions I have drawn within the rectangle area.