Giter Club home page Giter Club logo

ol3-unleashed's Introduction

OpenLayers 3 Unleashed

Set up

Dependencies pulled in with npm.

After cloning the repo (and installing Node):

cd ol3-unleashed
npm install

Now you can view the slides by loading index.html in a browser.

Examples

The examples all share the same basic layout, so they are built from templates. The npm install step above builds all examples (and more) and puts everything in the .grunt/self directory. To facilitate rebuilding of examples during development, a simple server and watch task are included. This can be fired up with the following:

npm start

This will build the examples, copy over files that don't need pre-processing, start a static file server rooted in the .grunt/self directory, and launch a file watcher task that will re-build/copy when files change.

While this task is running, the slideshow is available at http://localhost:9001/ and examples are at http://localhost:9001/examples/. When the slides are deployed, the examples will have the same relative path to the slides (e.g. slides can link to examples with './examples/hello-world.html').

Deploying

To publish the slides (with dependencies) to the gh-pages branch on GitHub, run the following:

npm run deploy

Credits

Credits to reveal.js for the slick presentation software.

ol3-unleashed's People

Contributors

tschaub avatar ahocevar avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.