I was wondering what are the necessary files for hosting a webgis server with OpenLayers3 without using a CDN?
I am testing on a localhost
without internet access. It doesn't work to merely copy the direct js
(and css
) file pointed to by a CDN such as
http://openlayers.org/en/v3.0.0/build/ol.js
to the local webserver as .
Also, the same question holds for jquery and bootstrap. I had
But I wasn't sure how to get a complete local version for those.
Answer
Download the v3.0.0 distribution from https://github.com/openlayers/ol3/releases , then copy the js file(s) inside the build/ subdirectory to your webserver.
No comments:
Post a Comment