These are the code samples for The Book of OpenLayer3. Feel free to download the source code and contribute to this repository:
Here we show different ways to load vector information using a vector source class.