-
Notifications
You must be signed in to change notification settings - Fork 0
API
kkintaro edited this page Aug 9, 2016
·
8 revisions
Gets the fastest route. Returns the safety scores and directions.
BaseURL: https://server/api/directionsWithScores
See https://developers.google.com/maps/documentation/javascript/directions for more info on these parameters
- origin - The address, textual latitude/longitude value, or place ID from which you wish to calculate directions.
- destination — The address, textual latitude/longitude value, or place ID to which you wish to calculate directions. The options for the destination parameter are the same as for the origin parameter, described above.
- language
- units
- waypoints (will be implemented later
TODO
Will look a lot like a Google Directions Response.
- status
- geocoded_waypoints
- routes. Each route will have an extra parameter called "safe_score"
- available_travel_modes (will deal with later)
Write this, Josh, please!!
TODO