Class: WMSRasterSynchronizer

.WMSRasterSynchronizer~ WMSRasterSynchronizer

Represents a WMSRasterSynchronizer.

new WMSRasterSynchronizer(map, scene)

modules/core/3dUtils/wmsRasterSynchronizer.js, line 31
This object takes care of one-directional synchronization of Openlayers WMS raster layers to the given Cesium globe. This Synchronizer assumes that the given WMS supports EPSG Code 4326 (WGS84)
Name Type Description
map ol.Map -
scene Cesium.Scene -

Extends

  • olcs.AbstractSynchronizer.<Cesium.ImageryLayer>

Methods

addCesiumObject()

modules/core/3dUtils/wmsRasterSynchronizer.js, line 50

protectedconvertLayerToCesiumImageries(olLayer, viewProj){Array.<!Cesium.ImageryLayer>}

modules/core/3dUtils/wmsRasterSynchronizer.js, line 95
Creates an array of Cesium.ImageryLayer. May be overriden by child classes to implement custom behavior. The default implementation handles tiled imageries in EPSG:4326 or EPSG:3859.
Name Type Description
olLayer ol.layer.Base -
viewProj ol.proj.Projection nullable Projection of the view.
Returns:
or null if not possible (or supported)

createSingleLayerCounterparts()

modules/core/3dUtils/wmsRasterSynchronizer.js, line 239

destroyCesiumObject()

modules/core/3dUtils/wmsRasterSynchronizer.js, line 59

getMinMaxLevelFromTileGrid(tilegrid, extent, projection){Array.<Number>}

modules/core/3dUtils/wmsRasterSynchronizer.js, line 187
Name Type Description
tilegrid ol.tilegrid.TileGrid -
extent ol.Extent -
projection ol.ProjectionLike -

protectedorderLayers()

modules/core/3dUtils/wmsRasterSynchronizer.js, line 302
Order counterparts using the same algorithm as the Openlayers renderer: z-index then original sequence order.

raiseToTop(counterpart){void}

modules/core/3dUtils/wmsRasterSynchronizer.js, line 339
Name Type Description
counterpart Cesium.ImageryLayer -

removeAllCesiumObjects()

modules/core/3dUtils/wmsRasterSynchronizer.js, line 76

removeSingleCesiumObject()

modules/core/3dUtils/wmsRasterSynchronizer.js, line 67