Open kcirerick opened 3 years ago
Traveling salesman Min Span Tree DFS
"The Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations, based on the recommended route between start and end points." We can use this matrix to include a feature that lets us sort by either distance or time away from a given location. Then, once a user clicks on a search result and scrolls through the reviews, I think it'd be nifty to include a button with a navigation icon that allows users to map to that particular location.
Perhaps we can even count the number of users who "navigate" to a location from the reviews page and use this to boost a locations reviews even if that user doesn't write a review, since this implicitly indicates the user found it safe enough to consider navigating there.
Let's make a button sending them to Google Maps (and specifically to that location)
Perhaps we can allow a user to map directly the location they deem safest after reading the reviews?