Skip to content

OlImageSource

OlImageSource(props): null

Defined in: src/ol-image-source.tsx:42

OpenLayers GeoImage source component for providing georeferenced image data to an image layer. Must be used as a child of OlImageLayer.

OlImageSourceProps

OpenLayers GeoImage source options

null

<OlImageLayer isVisible={true}>
<OlImageSource
url="image.jpg"
imageCenter={[0, 0]}
imageScale={[1, 1]}
imageRotate={0}
imageOpacity={0.8}
/>
</OlImageLayer>