--- template: "example.html" title: "Box selection example" shortdesc: "Using a DragBox interaction to select features." docs: >

This example shows how to use a `DragBox` interaction to select features. Selected features are added to the feature overlay of a select interaction (`ol.interaction.Select`) for highlighting.

Use `SHIFT+drag` to draw boxes.

tags: "DragBox, feature, selection, box" ---