Refactor turf measurement functions#1139
Conversation
09416f9 to
7230568
Compare
|
@kmadsen , can you say more about how this pr came about? Is there a reason why you want another version of We try to keep the Turf porting as close to turf.js as possible. Per http://turfjs.org/docs/#along docs, this method takes a If you've got a list of |
|
@langsmith thanks for the reference http://turfjs.org/docs. There's a few things that are there, not in our mapbox-java that I would like to use! The reason I was looking to simplify the interface a little is because I'm using it over here: https://github.com/mapbox/mapbox-navigation-android/pull/2802/files#diff-a4ab863681b076878569a40fd6ca5c45R36 So I'm already using buy why convert back and forth from LineString? So yeah, this pull request is a suggestion. There are already public interfaces to |
I'm looking to use some of these functions but want to use List directly.