Find Features within user supplied polygon
Is there support in the Global Mapper SDK to implement a function that would first prompt the user to sketch a polygon on the map, and then find and return a list of features falling within the user provided polygon? I believe GM_FindNearestFeatures supports searching within a rectangle. I'm looking for a way to support searching within a polygon where the polygon could have many sides (defined by the user) perhaps 10 or 20 sides or however many sides the user defined by clicking on the map. The last point they click on would be closed back to the first, and it would be fine to support only polygons that do not have loops or crossing lines.