WebGL Earth offline demo
The WebGL Earth API with custom tiles derived from Natural Earth data.
Download and unzip this repository (or clone it with git): https://github.com/webglearth/webglearth2-offline/archive/gh-pages.zip
This example runs offline as well, but the data must be opened over HTTP protocol.
Direct opening of the HTML file in a downloaded directory is unfortunatelly not possible because of the default security restrictions of the web browser for loading WebGL textures.
Once the globe is hosted on your webserver it runs perfectly.
To develop and work with this example locally on your computer:
A) either turn off temporarily the security restrictions of your web browser. See: https://github.com/mrdoob/three.js/wiki/How-to-run-things-locally#change-local-files-security-policy
B) or start in the directory with the code a simple web server with the command:
$ python -m SimpleHTTPServer
then you can (even without connection to Internet) open the globe at:
and you should see this: