Module: AbstractSynchronizer

Members

(protected) layerMap :Object.<string, ?Array.<T>>

Map of OpenLayers layer ids (from ol.getUid) to the Cesium ImageryLayers. Null value means, that we are unable to create equivalent layers.
Type:
  • Object.<string, ?Array.<T>>
Source:

(protected, non-null) map :ol.Map

Type:
  • ol.Map
Source:

mapLayerGroup :ol.layer.Group

Type:
  • ol.layer.Group
Source:

(protected, non-null) olLayerListenKeys :Object.<string, Array.<ol.EventsKey>>

Map of listen keys for OpenLayers layer layers ids (from ol.getUid).
Type:
  • Object.<string, Array.<ol.EventsKey>>
Source:

(protected) olLayers :ol.Collection.<ol.layer.Base>

Type:
  • ol.Collection.<ol.layer.Base>
Source:

(protected, non-null) scene :Cesium.Scene

Type:
  • Cesium.Scene
Source:

(protected) view :ol.View

Type:
  • ol.View
Source:

Methods

(abstract, protected) addCesiumObject(objectnon-null)

Adds a single Cesium object to the collection.
Parameters:
Name Type Description
object T
Source:

(abstract, protected) createSingleLayerCounterparts(olLayerWithParents) → (nullable) {Array.<T>}

Parameters:
Name Type Description
olLayerWithParents olcsx.LayerWithParents
Source:
Returns:
Type
Array.<T>

(protected) destroyAll()

Destroys all the created Cesium objects.
Source:

(abstract, protected) destroyCesiumObject(objectnon-null)

Parameters:
Name Type Description
object T
Source:

(protected) orderLayers()

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

(abstract, protected) removeAllCesiumObjects(destroy)

Remove all Cesium objects from the collection.
Parameters:
Name Type Description
destroy boolean
Source:

(abstract, protected) removeSingleCesiumObject(objectnon-null, destroy)

Remove single Cesium object from the collection.
Parameters:
Name Type Description
object T
destroy boolean
Source:

synchronize()

Destroy all and perform complete synchronization of the layers.
Source: