Skip to content

dangbert/optimized-route

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

optimized-route

A website that uses the Google Maps API to create an optimized route between up to 25 waypoints (the traveling salesman problem). Useful for planning a roadtrip or a set of errands.

Click here to see an example route for a roadtrip across Europe.

How to use:

  1. Go to http://dangbert.github.io/optimized-route/
  2. Enter the start location in the "waypoints" search box.
  3. Enter up to 25 waypoint locations in the "Enter a waypoint" box in any order (25 is the max the API allows).
  4. Enter the end location in the "Set end location" box.
  5. Mouseover a location on the left panel to view its address.
  6. Delete waypoints with the red x; change start/end by entering a new location .
  7. NEW: bookmark the page at any point to save your route for revisiting later.

If the start, end, and at least one waypoint are all defined then the optimal route will be displayed on the map, and directions will be displayed in a panel to the right of the map. You can hide/show the panel using the button in the top right of the panel.

About

Website that uses the Google Maps API to create an optimized route between waypoints. (My first website, from 2016).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published