npm install
export MAPBOX_ACCESS_TOKEN='YourAccessToken'
node index
- Fetches a distance table using the Mapbox Directions Matrix API
- Runs the VRP solver with some dummy locations and constraints (see
index.js
for details) - Fetches route geometries using the Mapbox Directions Route API