ImageryLayer
ImageryLayer
is a imargery layer on the globe.
Layers are added in order of JSX from the top.
// Back layer
<ImageryLayer imageryProvider={provider1} />
<ImageryLayer imageryProvider={provider2} />
<ImageryLayer imageryProvider={provider3} />
// Front layer
is equivalent to:
viewer.imageryLayers.add(provider1);
viewer.imageryLayers.add(provider2);
viewer.imageryLayers.add(provider3);
As a result, the layer added at the very end is the frontmost when actually displayed.
Note: imageryProvider
property is read only. See also guide.
- Cesium element: ImageryLayer
- Example: ImageryLayer
Availability
Either:
- Inside Viewer or CesiumWidget component: the imargery layer will be attached to the ImageryLayerCollection of the Viewer or CesiumWidget.
- Inside ImageryLayerCollection component: same as above
Properties
Cesium properties
Property | Type | Description |
---|---|---|
show | boolean | |
splitDirection | SplitDirection | ((...params: any[]) => any) | |
brightness | number | ((...params: any[]) => any) | |
alpha | number | ((...params: any[]) => any) | |
nightAlpha | number | ((...params: any[]) => any) | |
dayAlpha | number | ((...params: any[]) => any) | |
contrast | number | ((...params: any[]) => any) | |
hue | number | ((...params: any[]) => any) | |
saturation | number | ((...params: any[]) => any) | |
gamma | number | ((...params: any[]) => any) | |
minificationFilter | TextureMinificationFilter | |
magnificationFilter | TextureMagnificationFilter | |
cutoutRectangle | Rectangle | |
colorToAlpha | Color | |
colorToAlphaThreshold | number | |
index | number |
Cesium read-only properties
Property | Type | Description |
---|---|---|
imageryProvider | ImageryProvider | |
rectangle | Rectangle | |
maximumAnisotropy | number | |
minimumTerrainLevel | number | |
maximumTerrainLevel | number |
Cesium events
N/A
Other properties
N/A