Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SymbolPlacement options of 'justEnd' and 'justBegin' to work similarly to the CIMSymbol options for ExtremityPlacement #13140

Open
JBorgia opened this issue Apr 9, 2024 · 0 comments

Comments

@JBorgia
Copy link

JBorgia commented Apr 9, 2024

Motivation

I want to be able to position a symbol at the end of a line. Like an arrow, or x-marks-the-spot, so users can easily understand where a ployline beings and ends.

Design Alternatives

Right now, as the data I am using is not under my team's control, we need to make a 2nd call to fetch both vector and GeoJSON data and then create a second layer that places the end points using the GeoJSON. I know you can add things along the line, but that can create unnecessary clutter.

Design

I think it should work like CIMSymbol's ExtremityPlacement, with SymbolPlacement having a justEnd and justBegin option. The symbol would default rotation to align with the line at the point of placement.

Mock-Up

'symbol-placement': 'justEnd '

Concepts

'symbol-placement' would get 2 new options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant