From 33b0f88771b8b8c91976b17a0c4f86f1ce1f7a30 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 23 Oct 2019 09:03:17 +0200 Subject: [PATCH] Add back html from select-features example The example was removed and added back in 38124d770b45803cb837b446fd78ec475e616ccc but the html file was missing --- examples/select-features.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/select-features.html diff --git a/examples/select-features.html b/examples/select-features.html new file mode 100644 index 0000000000..c7640d8514 --- /dev/null +++ b/examples/select-features.html @@ -0,0 +1,22 @@ +--- +layout: example.html +title: Select Features +shortdesc: Example of using the Select interaction. +docs: > + Choose between Single-click, Click, Hover and Alt+Click as the event type for selection in the combobox below. When using Single-click or Click you can hold do Shift key to toggle the feature in the selection.

+

Note: when Single-click is used double-clicks won't select features. This in contrast to Click, where a double-click will both select the feature and zoom the map (because of the DoubleClickZoom interaction). Note that Single-click is less responsive than Click because of the delay it uses to detect double-clicks.

+

In this example, a listener is registered for the Select interaction's select event in order to update the selection status above. +tags: "select, vector" +--- +

+
+ + +  0 selected features +