Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brayvid/routecat
Traveling salesman solver for delivery, alleycats and more.
https://github.com/brayvid/routecat
delivery google-maps-javascript-api netlify optimization traveling-salesman web-app
Last synced: 2 days ago
JSON representation
Traveling salesman solver for delivery, alleycats and more.
- Host: GitHub
- URL: https://github.com/brayvid/routecat
- Owner: brayvid
- Created: 2020-11-12T12:55:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-07T21:23:03.000Z (4 days ago)
- Last Synced: 2025-02-07T22:27:43.677Z (4 days ago)
- Topics: delivery, google-maps-javascript-api, netlify, optimization, traveling-salesman, web-app
- Language: JavaScript
- Homepage: https://routecat.netlify.app
- Size: 564 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RouteCat
https://routecat.netlify.app## Overview
RouteCat is a web application designed to calculate and visualize routes with multiple waypoints using the Google Maps API. Users can input a starting point, destination, and multiple waypoints, and RouteCat will find the most optimized route. It also displays the route on a Google Map and updates a table showing the route details.
## Features
- **Multi-stop Routing**: Input a start location, end location, and multiple waypoints, and RouteCat will optimize the route.
- **Dynamic Input Fields**: Add or remove waypoint fields as needed.
- **Route Visualization**: The route is displayed on Google Maps with unique colored markers and lines for each segment.
- **Geolocation Support**: Automatically set the start location using your current geolocation.
- **Error Handling**: Provides feedback when required inputs are missing or if there are errors with the route request.## Usage
1. **Set Up Locations**:
- Enter the starting address in the **Start** field.
- Enter the destination address in the **Finish** field (or check the option to finish at the starting location).
- Use the **Add Field** button to add additional waypoint fields for intermediate stops.2. **Generate Route**:
- Click the **Assign** button to generate the route.
- The map will display the route, with markers for the start, waypoints, and end points.
- The optimized route will appear in a table below the map with the total travel time.## Geolocation Support
To use your current location as the starting point:
1. Ensure that the browser has permission to access your location.
2. The starting address field will auto-fill with your current address when geolocation is activated.## Error Handling
- If any required fields (e.g., start or end address) are missing, the program will display a message prompting the user to input the missing information.
- If the geocoding or routing request fails, an error message will be shown on the map.