The Book of OpenLayers3 [Code samples]

These are the code samples for The Book of OpenLayer3. Feel free to download the source code and contribute to this repository:

Vector source

Here we show different ways to load vector information using a vector source class.

Note there is a layer that is never loaded due a cross domain problem. See source code and your browser console.

Source code: