Skip to content

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.

OlFeatureSelectProps

Element

<OlVectorLayer visible={true}>
<OlLayerSelect ref={selectRef}>
{children}
</OlLayerSelect>
</OlVectorLayer>