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:

Selecting features within a vector box

The sample shows how we can combine the `ol.interacions.DragBox` and the `ol.interacions.Select` interactions to select those features that intersects with a given vector box:

Source code: