--- layout: example.html title: Box Selection 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
(Command+Drag
on Mac) to draw boxes.