perliedman / leaflet-routing-machine

Control for routing in Leaflet
https://www.liedman.net/leaflet-routing-machine/
Other
1.06k stars 347 forks source link

Fix maps and routing on Github Pages #638

Closed curtisy1 closed 2 years ago

curtisy1 commented 2 years ago

This fixes the map layer and LRM initialization on the Github pages site over at https://www.liedman.net/leaflet-routing-machine/ by replacing mapbox with OSM.

The one instance that needs autocomplete has been replaced with OpenRouteService which provides a free tier. Since it's now no longer needed, I removed the Mapbox API key as well