Skip to content

[Bug] Always emit featureDrawn event when feature is uploaed via draw panel#6444

Merged
rldhont merged 1 commit into3liz:masterfrom
mind84:draw_upload_featdrawned_event
Jan 26, 2026
Merged

[Bug] Always emit featureDrawn event when feature is uploaed via draw panel#6444
rldhont merged 1 commit into3liz:masterfrom
mind84:draw_upload_featdrawned_event

Conversation

@mind84
Copy link
Copy Markdown
Collaborator

@mind84 mind84 commented Jan 21, 2026

When the user uploads a feature via the drawing panel, if the currently selected tool is not one of the appropriate drawing tools (e.g. point, line, etc...), the digitizing.featureDrawn event is not fired because there is no addfeature event associated with the source.

Since a feature has been added, the featureDrawn event should still fire, regardless of the currently selected tool.

Backport 3.9 and 3.10

Funded by Faunalia

@github-actions github-actions Bot added this to the 3.11.0 milestone Jan 21, 2026
@rldhont rldhont added editing form javascript Pull requests that update Javascript code backport release_3_9 backport release_3_10 sponsored development This development has been funded labels Jan 26, 2026
@rldhont rldhont merged commit 58512c2 into 3liz:master Jan 26, 2026
17 of 18 checks passed
@mind84 mind84 deleted the draw_upload_featdrawned_event branch February 5, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release_3_9 backport release_3_10 editing form javascript Pull requests that update Javascript code sponsored development This development has been funded

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants