When loading JS script to display OpenLayers in a webpage, I am getting 404 on both stylesheet and script.

Any alternative sources for code? Can't find it on OpenLayers Github, which is now version 5.4


1 Answer 1



this issue on github will help you out to understand.
The codes are on the cdn as Mike linked. and If you need sources not compressed, you can still get it from openlayers repository. https://github.com/openlayers/openlayers/tree/v3.4.0 enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.