UNPKG

rlayers

Version:

React Components for OpenLayers

21 lines 854 B
import { Feature } from 'ol'; import { VectorImage as LayerVectorImage } from 'ol/layer'; import { Vector as SourceVector } from 'ol/source'; import { default as RLayerBaseVector, RLayerBaseVectorProps } from './RLayerBaseVector'; import BaseObject from 'ol/Object'; /** * A vector layer * * Supports loading of features from external sources * * Requires an `RMap` context * * Provides a vector layer context for JSX-declared `RFeature`s */ export default class RLayerVectorImage extends RLayerBaseVector<Feature, RLayerBaseVectorProps<Feature>> { ol: LayerVectorImage<SourceVector<Feature>>; source: SourceVector<Feature>; protected createSource(props: Readonly<RLayerBaseVectorProps<Feature>>): BaseObject[]; protected refresh(prevProps?: RLayerBaseVectorProps<Feature>): void; } //# sourceMappingURL=RLayerVectorImage.d.ts.map