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

Feature request: option to make start/end of polyline non-editable #44

Open
leiflinse-trivector opened this issue Apr 8, 2024 · 0 comments

Comments

@leiflinse-trivector
Copy link

I tried to take all but first and last marker, but it appears that they are ordered not along the line, but grouped by point type, so one would have to take that into account when deciding which points to remove, at which point this feels like I am getting too deep into implementation specific details of this library.

polyEditor.edit().sublist(1, polyEditor.edit().length - 2)

So I think it would be better if there is an option to disable the first and last marker. Perhaps two independent flags, as there may also be use cases where you only want to fixate one of the ends.

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