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
- Host: GitHub
- URL: https://github.com/openlayers/openlayers-closure-application
- Owner: openlayers
- Created: 2015-04-04T20:20:07.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-04-13T08:15:08.000Z (over 8 years ago)
- Last Synced: 2025-01-19T07:14:09.093Z (12 months ago)
- Language: HTML
- Size: 3.91 KB
- Stars: 4
- Watchers: 9
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.