Standalone Offline OSM Server - Need help serving up Javascript


I have successfully built my OSM server using this excellent guide…

I would now like to disconnect the server from the internet completely so I need to host the OpenLayers.js and OpenStreetMap.js locally (As best I can see from my research). I was able to download the OpenLayers.js after a bit of searching but can’t seem to find OpenStreetMap.js anywhere.

Can anyone point me in the right direction?



I cannot give you a concrete solution … but are you aware that in the meantime the main website is using leafletjs instead of openlayers?

I wasn’t Stephan, thanks. I will have a look at that too!