Fix removeWindow event as it would not trigger a RemoveChild UIChange.
What does this MR do?
- Fix: removing a window would not trigger a RemoveChild event. This would trigger ui change events to be triggered
for the wrong child of the leaflet map for leaflet windows as the children of the leaflet map
would not be updated after removing a window from the map.
Related issues
N/A
Changes to public APIs
N/A
Author's checklist (required)
See CONTRIBUTING.md for the rationale behind these items:
-
The commit history does not contain merges (use git rebase -i master
if it does) -
Intermediate commits compile (use git rebase -i master
if not) -
Newly added code follows the Platform code style -
Newly added code is documented -
If bugs have been solved, tests have been added -
Appropriate types have been used, especially in APIs -
If efficiency is part of the acceptance criteria of the issue, a benchmark is provided -
A changelog entry has been added if required. See CONTRIBUTING.md