Capturing from https://turfjs.org/docs/#nearestPointOnLine, the Feature returned from TurfMisc#nearestPointOnLine should return a location number property that describes the distance along the route of the computed intersection point, next to already available dist number property which describes the distance to the original point. Also would be great to explain those properties in the Javadoc and add public constant instead of relying on raw strings for dist and location.
Capturing from https://turfjs.org/docs/#nearestPointOnLine, the
Featurereturned fromTurfMisc#nearestPointOnLineshould return alocationnumber property that describes the distance along the route of the computed intersection point, next to already availabledistnumber property which describes the distance to the original point. Also would be great to explain those properties in the Javadoc and add public constant instead of relying on raw strings fordistandlocation./cc @cafesilencio
The text was updated successfully, but these errors were encountered: