SignalK / freeboard-sk

Chartplotter implementation for Signal K servers
Apache License 2.0
35 stars 27 forks source link

Use unified interface for route drawing and editing #170

Open mairas opened 1 month ago

mairas commented 1 month ago

Route drawing only supports incremental route building at the moment: you add waypoints until you arrive at your destination. I tend to build routes by adding a waypoint to the destination and then inserting intermediate waypoints. This is possible in Freeboard, but you first have to save the initial single-waypoint route and then edit it. I think the "draw route" and route editing could be integrated, allowing simultaneous creating and editing of routes.

panaaj commented 1 month ago

The current behaviour is how the OpenLayers draw & modify functions work. To get the behaviour you describe it will require a combination of the draw / edit functions. I will explore how this might work.

petsicola commented 1 month ago

Vessel finder has a button to draw meassures but it hink that it can work with routes.

Here in this issue he said something similar. create circles in each waypoint. https://github.com/SignalK/freeboard-sk/issues/168 If you are in editing mode you can move all the waypoints and when you accept you confirm the route Meassure and route editing in freeboard could work at the same way.

Here in vessel finder you can see how it works https://www.vesselfinder.com/es

image