- Install yarn and build
$ cd route/
$ brew install yarn
$ yarn install
- Specify google map token in
.env
file
$ echo "GOOGLE_MAP_API_TOKEN='YOUR TOKEN HERE'" > .env
- Start the app
$ yarn start
You can customize the line colors within the Map.js
by updating the colorMap
function or passing in a react property of the same name.
Just update pathFilter
inside the Map.js
or pass in a path filter as a react property.