import olcsAbstractSynchronizer from './AbstractSynchronizer.js'; import olcsFeatureConverter from './FeatureConverter.js'; import type VectorLayerCounterpart from './core/VectorLayerCounterpart.js'; import type { PrimitiveCollection, Scene } from 'cesium'; import type Map from 'ol/Map.js'; import { type LayerWithParents } from './core.js'; export default class VectorSynchronizer extends olcsAbstractSynchronizer { protected converter: olcsFeatureConverter; private csAllPrimitives_; /** * Unidirectionally synchronize OpenLayers vector layers to Cesium. * @param map * @param scene * @param opt_converter */ constructor(map: Map, scene: Scene, opt_converter?: olcsFeatureConverter); addCesiumObject(counterpart: VectorLayerCounterpart): void; destroyCesiumObject(object: VectorLayerCounterpart): void; removeSingleCesiumObject(object: VectorLayerCounterpart, destroy: boolean): void; removeAllCesiumObjects(destroy: boolean): void; /** * Synchronizes the layer visibility properties * to the given Cesium Primitive. * @param olLayerWithParents * @param csPrimitive */ updateLayerVisibility(olLayerWithParents: LayerWithParents, csPrimitive: PrimitiveCollection): void; createSingleLayerCounterparts(olLayerWithParents: LayerWithParents): VectorLayerCounterpart[]; } //# sourceMappingURL=VectorSynchronizer.d.ts.map