You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turf is a very nice geo lib. When using the .buffer function. It can create a nicely buffer polygon with a round linecap around the given polyline. My question is how to create a polyline with flat linecap with turf? Is there any way to achieve that?
Best Regards,
John
The text was updated successfully, but these errors were encountered:
At the moment it's not possible with Turf. Using the jsts lib (on which Turf currently relies) I believe it's doable.
We do already have an item to support endcap strategies so Im going to close this in favour of that issue. We're currently trying to remove the dependency on jsts as it is a very large library but when we do we'll try and make sure we have those endcap options in place.
Hi everyone,
Turf is a very nice geo lib. When using the .buffer function. It can create a nicely buffer polygon with a round linecap around the given polyline. My question is how to create a polyline with flat linecap with turf? Is there any way to achieve that?
Best Regards,
John
The text was updated successfully, but these errors were encountered: