terra-draw icon indicating copy to clipboard operation
terra-draw copied to clipboard

feat(terra-draw): add `renderAboveLayerId` config param to mapbox/maplibre adapters

Open jo-chemla opened this issue 3 months ago • 1 comments
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

jo-chemla avatar Aug 14 '25 08:08 jo-chemla