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:

Basic overlay

Demonstrates how to create a basic overlay from a HTML element. Click on the map to show/move the overlay that shows the clicked coordinates.

stopEvent insertFirst

Source code: