These are the code samples for The Book of OpenLayer3. Feel free to download the source code and contribute to this repository:
Shows how we can use overlays to implement markers. Because overlays are HTML element we can create graceful icons using CSS or SVG.