--- layout: 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 Ctrl+drag (Meta+drag on Mac) to draw boxes.

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