I’m currently trying to achieve that i can select shapes from a layer within a polygon. The problem is that i’m not sure how to get the selected polygon corner points correctly. I saw a forum post here (Selection by polygon) and also checked out the MapWindow implementation (https://github.com/MapWindow/MapWindow5/blob/aa545a06ad5e730947374d2c828a95f3ddab1dfb/src/Plugins/MW5.ShapeEditor/MapListener.cs#L101) but i don’t get how to get the points of the polygon which i am drawing from those examples. On the map i select the points with left click and end the selection with CTRL + left click. The CTRL + left click invokes the ChooseLayerEvent but from there on i haven’t a good clue how to continue.
I hope you can help me, thanks in advance.