terra-draw
terra-draw copied to clipboard
fix(terra-draw-maplibre-gl-adapter) : add check if layer or source exist before removing
trafficstars
Description of Changes
This should fix #534 by checking if the layer exists before removing it.
Link to Issue
#534
PR Checklist
- [x] The PR title follows the conventional commit standard
- [x] There is a associated GitHub issue
- [ ] If I have added significant code changes, there are relevant tests
- [ ] If there are behaviour changes these are documented