flutter_map_line_editor icon indicating copy to clipboard operation
flutter_map_line_editor copied to clipboard

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

Open leiflinse-trivector opened this issue 10 months ago • 0 comments

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.

leiflinse-trivector avatar Apr 08 '24 19:04 leiflinse-trivector