Git Product home page Git Product logo

thebookofopenlayers3's Introduction

The Book of OpenLayers3 (Code samples)

This repository contains the project I used to create the code samples for The Book of OpenLayers3.

Demo

You see code running at github pages: http://acanimal.github.io/thebookofopenlayers3

The Book of OpenLayers3

Working with the project

The project is based on Yeoman webapp generator with some custom modifications. To keep the code simple I have not made use of any framework (like AngularJs, Backbone or similar) neither used any template engine.

The main modification respect the Yeoman webapp generator is the addition of the grunt-includes plugin, which allows files inclusion and this way avoid repeating some pieces of code, like the header, the footer, etc on each example.

index.html and all the chapter*.html files must be edited withint the app_tpl folder (that acts as the original templates). The grunt includes tasks is responsible to compile the template files and generate the right html files in the app folder. Any other content, like images or data, must be edited directly in the app folder. The Gruntgile.json has modified so when you are developing (using the grunt serve task) or you create a distribution (with grunt build) the templates are automatically compiled and updated.


Creative Commons License
Code samples for The Book of OpenLayers3 by Antonio Santiago is licensed under a Creative Commons Attribution 4.0 International License.

thebookofopenlayers3's People

Watchers

eplus 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.