OlLayerSelect
OlLayerSelect(
props):Element
Defined in: src/ol-select.tsx:82
Select interaction component scoped to a specific vector layer. Automatically configures the select interaction to only select features from the parent layer. Must be used within an OlVectorLayer.
Parameters
Section titled “Parameters”OlFeatureSelectProps
Returns
Section titled “Returns”Element
Example
Section titled “Example”<OlVectorLayer visible={true}> <OlLayerSelect ref={selectRef}> {children} </OlLayerSelect></OlVectorLayer>