farmOS-map
farmOS-map copied to clipboard
Save lineString segments as they are drawn
If we are in the middle of drawing a lineString
, save the segments that have been drawn thusfar. Do this because lineString
is the only drawing mode that requires a double-click to finish. When drawing a lineString
, the user expectation is that pressing escape will end the drawing mode but keep the drawn segments.