https://github.com/chrismayer/ol-app-setup
Create a basic OpenLayers app setup
https://github.com/chrismayer/ol-app-setup
Last synced: 3 months ago
JSON representation
Create a basic OpenLayers app setup
- Host: GitHub
- URL: https://github.com/chrismayer/ol-app-setup
- Owner: chrismayer
- License: mit
- Created: 2014-12-11T15:57:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-20T13:03:42.000Z (over 10 years ago)
- Last Synced: 2025-02-26T18:22:51.338Z (3 months ago)
- Language: CSS
- Size: 402 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
OpenLayers Application Setup Generator
============Creates a basic OpenLayers application setup
Install
------------
`npm install -g ol-app-setup`Usage
--------See `ol-app-setup --help` for detailed usage.
Usage: ol-app-setup [options]
Options:
-h, --help output usage information
-t, --target Path to create the app within (required)
-v, --olversion Defines the library profile to be used for the app setup. Valid options are "ol3" and "ol2". (Default is "ol3")
-j, --jquery Includes jQuery in your app setup
-b, --bootstrap Includes bootstrap in your app setup
-s, --server Start an internal web server on localhost:8888Example calls
-----------------
Create a simple OpenLayers 3 app`ol-app-setup -t /tmp/foo`
Create a simple OpenLayers 2 app
`ol-app-setup -t /tmp/foo -v ol2`
Create an ol3 app with jQuery and bootstrap
`ol-app-setup -t /tmp/foo -v ol3 --jquery --bootstrap`
Create an ol3 app and start an internal web server to explore the map
`ol-app-setup -t /tmp/foo -v ol3 -s`