O'Reilly logo

OpenLayers 3 : Beginner's Guide by Erik Hazzard, Paul Spencer, Thomas Gratier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - running official examples with the internal OpenLayers toolkit

We will inspect reusing the workflow for developing the OpenLayers core library to run the official examples. For this purpose, start with the following step:

  1. Download the project code in your command line:
    git clone https://github.com/openlayers/ol3.git
    cd ol3
    git checkout v3.0.0
    
  2. Install Node and Python additional libraries with:
    npm install
    sudo pip install -r requirements.txt
    
  3. Run from the command line, on Windows, build.cmd checkdeps or ./build.py checkdeps on Linux / Mac OSX. It will return if dependencies are solved to proceed to the next step.
  4. To retrieve Closure Compiler and use the automatic configuration from the OpenLayers project, launch on Microsoft Windows: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required