Class AbstractSynchronizer<T>Abstract

Type Parameters

Hierarchy (view full)

Constructors

Properties

layerMap: Record<string, T[]> = {}

Map of OpenLayers layer ids (from getUid) to the Cesium ImageryLayers. Null value means, that we are unable to create equivalent layers.

map: Map
mapLayerGroup: LayerGroup
olLayerListenKeys: Record<string, EventsKey[]> = {}

Map of listen keys for OpenLayers layer layers ids (from getUid).

olLayers: Collection<BaseLayer>
scene: Scene
view: View

Methods

  • Adds a single Cesium object to the collection.

    Parameters

    • object: T

    Returns void

  • Parameters

    Returns T[]

  • Destroys all the created Cesium objects.

    Returns void

  • Parameters

    • object: T

    Returns void

  • Order counterparts using the same algorithm as the Openlayers renderer: z-index then original sequence order.

    Returns void

  • Parameters

    • destroy: boolean

    Returns void

  • Remove single Cesium object from the collection.

    Parameters

    • object: T
    • destroy: boolean

    Returns void

  • Destroy all and perform complete synchronization of the layers.

    Returns void