79662050

Date: 2025-06-11 13:18:52
Score: 1
Natty:
Report link

The solution is to add the Draw-Option stopClick: true

https://openlayers.org/en/latest/apidoc/module-ol_interaction_Draw-Draw.html

this.draw = new ol.interaction.Draw({
    features : features,
    type : "Point",
    stopClick: true // Stop click, singleclick, and doubleclick events from firing during drawing.
});
Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bttb