UNPKG

rlayers

Version:

React Components for OpenLayers

28 lines 788 B
import { Image } from 'ol/style'; import { Size } from 'ol/size'; import { default as RBaseStyle, RBaseStyleProps } from './RBaseStyle'; /** * @propsfor RImage */ export interface RImageProps extends RBaseStyleProps { /** Opacity */ opacity?: number; /** Rotate with view */ rotateWithView?: boolean; /** Rotation */ rotation?: number; /** Scale */ scale?: number | Size; /** Displacement */ displacement?: number[]; } /** * An abstract class serving as base for all styles that render an image */ export default class RImage<P extends RImageProps> extends RBaseStyle<P> { protected static classProps: string[]; ol: Image; protected create(props: P): Image; protected set(ol: Image): void; } //# sourceMappingURL=RImage.d.ts.map