new ImageryLayer(options)
layer/ImageryLayer.js, line 27
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
LayerOptions |
图层可选参数
|
Example
// 自定义在线底图主题颜色参数
customTheme: {
name: string
bgColor?: Cesium.Color
alpha?: number
invert?: boolean
}
// 自定义在线底图主题颜色代码示例
new ImageryLayer({
imageryProviderType: 'TMap',
imageryOptions: {
type: 'vec_c'
},
customTheme: {
bgColor: Cesium.Color.DODGERBLUE,
alpha: 0.5,
invert: true,
preMultiplyAlpha: true
},
name: '自定义蓝色在线天地图矢量图层'
}).addToViewer(viewer)
Extends
- Layer