Open dabreegster opened 1 year ago
Keeping this issue open, until we address a limitation noted in the PR:
If a route was drawn with an option, like avoidDoublingBack, when the route is restored, it'll be subject to the new setting and may change. I'll leave it as future work to plumb through and retain that option too.
aka, feed in a LineString to the plugin. Unclear how to figure out which waypoints have been finalized and which are just intermediate points. Also not sure how to recover the route from the geometry -- HMM snapping?
Alternatively, maybe when we finalize, we encode enough state to recreate the plugin later