https://ml1710bestcheapprice.blogspot.com/2023/11/openlayers3-abort-draw-interaction.html
Openlayers3: Abort The Draw Interaction