ballotnav
ballotnav copied to clipboard
Mapbox directions service
Overview
We're currently linking to google maps for driving directions. We could try Mapbox's directions service instead, and put the directions on our own map.
Action Items
- [ ] Explore and implement Mapbox directions service
Resources/Instructions
Example: https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-directions/ npm package: https://www.npmjs.com/package/@mapbox/mapbox-gl-directions Javascript SDK: https://github.com/mapbox/mapbox-sdk-js/blob/main/docs/services.md#getdirections
Issue relates to v1 of the project. Currently not pursuing this format of the product. You can find a link to all the issues that have this designation, here.