To create this map, we researched the three largest cities in each state and used TripAdvisor to find the most highly rated breakfast restaurant within each city limits. We compiled this database of addresses and used Google Maps API to generate a map of all the locations. We then calculated the optimum road trip between all the locations using a method devised by data scientist Randal S. Olson. His technique uses a ‘genetic algorithm’ to determine the most efficient route. Once we had the most efficient route, our development team created a backend database to store this route and a frontend interactive map built in leaflet.js to display it.
This interactive map is brought to you by CashNetUSA