Is there a way to calculate the shortest path with multiple stops using Turf.js?
I need to get the shortest path from a starting point to multiple stops. Said stops don’t need to be reached in order by default. I am wondering if Turf.js has a module for this.
Convert output of turfjs turf.lineChunk to turf.points
Just wondering if there is a way to easily convert the output of turf.lineChunk to turf.points?
How to create Bezier curve that doesn’t pass through control points
I need to create a Bezier curve with 6 points. I have 2 end points and 4 control points. When I use the turf.bezierSpline() function I get a curve that passes through all 6 points. My understanding is that Bezier curves should move toward the control points but not necessarily pass over them. Am I using the wrong function? I tried playing with the two parameters to no avail.