-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Duration & Distance in Table API.
Add the ability to specify whether the table should be annotated with distance and/or duration, as well as a new API for returning the distance. This is done in a way that allows us to return errors for unrouteable routes (where `null` is returned in the JSON), as in #7. I'm not 100% sure of the use of `stdbool` in a FFI interface - it's been a while since I had to write C!
- Loading branch information
1 parent
802ec5a
commit 38e6af2
Showing
2 changed files
with
84 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters