Sample application describing how to compile the application and OpenLayers code together
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src Initial commit Mar 31, 2015
.gitignore Initial commit Mar 31, 2015
README.md Add more info to readme Jun 4, 2016
config.json Simplify configuration file Apr 13, 2017
index-debug.html Initial commit Mar 31, 2015
index.html Initial commit Mar 31, 2015
package.json Update dependencies Apr 13, 2017

README.md

Closure-based OpenLayers 3 Application

This is the sample application developed for the tutorial Compiling Application with Closure Compiler.

To install the required dependencies, run:

npm install

To compile the code:

./node_modules/.bin/closure-util build config.json app.js

This creates the build in app.js. Open index.html to check if the build works correctly.

To start the development server, run:

./node_modules/.bin/closure-util serve config.json

Then open http://localhost:3000/index-debug.html in a browser.