Following the example Draw Feature
openlayers 4 i was able to
addInteraction and successfully drew a line.
My questions here are
- How do i capture all the lines drawn and populate them on the map again?
- How do i remove the latest drawn line. (Something like an undo button that keeps removing the latest line)?