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

[Feature Request] Additional Selection Indicator

Open alanOracle opened this issue 1 year ago • 0 comments
trafficstars

Is your feature request related to a problem? Please describe. In my use case it is not viable to use the existing selection custom styling. This is because I'm allowing the user to change the style of the currently selected feature and I want to let the user see their changes in real time.

Describe your proposed idea for the solution to this problem My current approach is adding a layer BELOW the polygons outline layer but ABOVE the fill layer. If this approach is implemented i think providing a way to specify for example the width of the line as a function would be necessary (so the thick of the line is adapts to the feature outline), along with all the existing style properties for the new layer.

This is how it looks like in points, lines and polygons

https://github.com/user-attachments/assets/c8106231-ba97-446e-ad2f-f03cabef14b0

alanOracle avatar Nov 01 '24 16:11 alanOracle