Back to Openlayers

Box Selection

examples/box-selection.html

10.9.0481 B
Original Source

--- 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. Features are selected using a select interaction (ol/interaction/Select), to recieve highlighting and apply filters (features with color #CC6767 are not selectable)

Use Ctrl+Drag (Command+Drag on Mac) to draw boxes.

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

Selected regions: None