diff --git a/examples/box-selection.html b/examples/box-selection.html new file mode 100644 index 0000000000..78aa899294 --- /dev/null +++ b/examples/box-selection.html @@ -0,0 +1,59 @@ + + +
+ + + + + + + +Using a DragBox interaction to select features.
+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.
See the box-selection.js source to see how this is done.
+