My current plan for the polygon system is :
click-and-drag = draw a line
click-and-release (with 15 pixels box) = sets the starting point of a polygon and you can move the mouse and click, click, click to set points of the polygon
in polygon mode, a click-drag would set a point (on mousedown) and set another point when you release (on mouseup if not within the same 15 pixels box) and stop the polygon drawing (so you can drag the last line to finish it)
A double click would also set the point as the last one (finish drawing the polygon).
click on your starting point (15 pixels box) would also close the polygon (and set the position to match the start point so it's a closed loop)
Right click would allow you pan the map
Backspace to delete the last point if you want to cancel it.
Enter can also be used to finish the polygon
I think that's a good way of doing it so you can draw with the mouse only, with no key modifiers, still be able to pan the map while drawing and still be able to cancel the last point
if you have opinions on that, let me know
My current plan for the polygon system is : click-and-drag = draw a line click-and-release (with 15 pixels box) = sets the starting point of a polygon and you can move the mouse and click, click, click to set points of the polygon in polygon mode, a click-drag would set a point (on mousedown) and set another point when you release (on mouseup if not within the same 15 pixels box) and stop the polygon drawing (so you can drag the last line to finish it) A double click would also set the point as the last one (finish drawing the polygon). click on your starting point (15 pixels box) would also close the polygon (and set the position to match the start point so it's a closed loop) Right click would allow you pan the map Backspace to delete the last point if you want to cancel it. Enter can also be used to finish the polygon I think that's a good way of doing it so you can draw with the mouse only, with no key modifiers, still be able to pan the map while drawing and still be able to cancel the last point if you have opinions on that, let me know