An open API service indexing awesome lists of open source software.

https://github.com/openlayers/openlayers-closure-application

Sample application describing how to compile the application and OpenLayers code together
https://github.com/openlayers/openlayers-closure-application

Last synced: 5 months ago
JSON representation

Sample application describing how to compile the application and OpenLayers code together

Awesome Lists containing this project

README

          

# Closure-based OpenLayers 3 Application

This is the sample application developed for the tutorial
[Compiling Application with Closure Compiler](http://openlayers.org/en/latest/doc/tutorials/closure.html).

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](http://localhost:3000/index-debug.html) in a browser.