OlSelect
OlSelect(
__namedParameters):Element
Defined in: src/ol-select.tsx:40
OpenLayers Select interaction component for selecting features on the map. Allows users to click features to select them. Must be used within an OlMap.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”OlFeatureSelectProps
Returns
Section titled “Returns”Element
Example
Section titled “Example”<OlMap> <OlSelect ref={selectRef} initialOptions={{ multi: true }}> {children} </OlSelect></OlMap>