Skip to content

Calculates which location has the shortest duration and distance to a specific origin. The origin and destination locations are all user entered and the user can enter as many destination locations as desired.

Notifications You must be signed in to change notification settings

Supermas123/Shortest-Distance-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shortest Distance Calculator

Description

Calculates which location has the shortest duration and distance to a specific origin. The origin and destination locations are all user entered and the user can enter as many destination locations as desired.

Technologies Used

This project was created using HTML, Bootstrap, jQuery, Express.js and Google's Distance Matrix API.

What I Learned

After this project, I had a better understanding of advanced javascript concepts such as promises, closures, and callbacks. I also became more familiar with how to use Google's Distance Matrix API.

Images of project UI

Main page with no origin or destinations added:

Main Page with no origin or destinations added

Main page with origin and destinations added:

Main Page with origin and destinations added

Final page with destinations listed from smallest to largest duration from origin:

Final page with destinations ranked by distance to origin from closest to farthest

About

Calculates which location has the shortest duration and distance to a specific origin. The origin and destination locations are all user entered and the user can enter as many destination locations as desired.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published