No offline map?
Zakalicious opened this issue · comments
Zakalicious commented
I have installed the Docker osrm-backend and frontend. I can generate a route with the front-end when I am offline, but I do not see a map.
Where do the tiles come from?
What can i do to see a map?
Thanks
Mathieu Brunot commented
Hi @Zakalicious
The tiles are downloaded from external services such as MapBox, tile.openstreetmap.org and tile.openstreetmap.de.
So the OSRM frontend needs to be online.
If you wish to work offline, I guess you need to :
- create your own local tile server: https://github.com/Overv/openstreetmap-tile-server
- configure to use your own tile server:
osrm-frontend/src/leaflet_options.js
Lines 35 to 41 in 7466eba
Zakalicious commented
Thank you, very helpful!