Created
February 21, 2023 13:14
-
-
Save TravelTime-Frontend/39df675fd90a72104accedfed740adfa 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
// The name of the starting location. We will have to geocode this to coordinates. | |
var startingLocation = "The White House, DC"; | |
// The departure time in an ISO format. | |
var departureTime = "2018-07-04T09:00:00-0500"; | |
// Travel time in seconds. We want 1 hour travel time so it is 60 minutes x 60 seconds. | |
var travelTime = 60 * 60; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment