terra-draw
terra-draw copied to clipboard
feat(terra-draw): add `renderAboveLayerId` config param to mapbox/maplibre adapters
trafficstars
Description of Changes
Following comment https://github.com/JamesLMilner/terra-draw/issues/394#issuecomment-3187333198 this PR adds to the mapbox and maplibre adapters a config param renderAboveLayerId similar to renderBelowLayerId.
The underlying adapter property is named _renderAfterLayerId to follow the renderBelowLayerId syntax - although maybe these could follow the maplibre/mapbox naming convention?
Link to Issue
https://github.com/JamesLMilner/terra-draw/issues/394
PR Checklist
- [x] The PR title follows the conventional commit standard
- [x] There is a associated GitHub issue
- [x] If I have added significant code changes, there are relevant tests
- [x] If there are behaviour changes these are documented