Created
October 27, 2016 11:22
-
-
Save here-devblog-gists/8474a98788b7bac50cee37081412ce39 to your computer and use it in GitHub Desktop.
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
var routeOptions = { | |
mode: 'fastest;car', | |
representation: 'display', | |
alternatives: 2, | |
// Our new line: | |
routeattributes: 'waypoints,summary,shape,legs', | |
waypoint0: Utils.locationToWaypointString(fromCoordinates), | |
waypoint1: Utils.locationToWaypointString(toCoordinates) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment