mapbox-directions-swift icon indicating copy to clipboard operation
mapbox-directions-swift copied to clipboard

Expose step weights

Open 1ec5 opened this issue 8 years ago • 1 comments

RouteStep should have a property that indicates the weight the step was given for the current profile. (Currently the only supported weight metric is “routability”, but “duration” and “distance” could also be possible in the future.)

The JSON response puts this information in a weight property, but I think we should either qualify that word (routingWeight?) or choose a less overloaded word (relevance?).

1ec5 avatar Apr 17 '17 04:04 1ec5

These API response properties are now documented here.

1ec5 avatar Nov 14 '17 22:11 1ec5