Skip to content

OlLayerTranslate

OlLayerTranslate(props): Element

Defined in: src/ol-translate.tsx:81

Translate interaction component scoped to a specific vector layer. Automatically configures the translate interaction to only move features from the parent layer. Must be used within an OlVectorLayer.

OlTranslateProps

Element

<OlVectorLayer visible={true}>
<OlLayerTranslate ref={translateRef}>
{children}
</OlLayerTranslate>
</OlVectorLayer>