- Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
If an ol-interaction-draw interaction is used, only the drawType that is initially set throws events like drawstart and drawend.
Once you change the drawType, no more events are thrown.
Affected version(s)
appears in latest version v10, havent tested other version
To Reproduce
Steps to reproduce the behavior:
- Simply go to https://vue3openlayers.netlify.app/componentsguide/interactions/draw/ and use the first demo.
- Draw a polygon into the map
- once finished there is a event/feature output in the console.
- once you change the drawtype to another type like a point or circle, no more event output happens
Alternatively use the demo at https://vue3openlayers.netlify.app/componentsguide/mapcontrols/controlbar/
this should always drop events when drawing ends, but same result, only for the initially selected drawType.
Expected behavior
There should always be the events thrown for drawstart or drawend
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working