Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.39 KB

README.md

File metadata and controls

15 lines (12 loc) · 1.39 KB

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 https://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.