Constructor
# new ThreeDimensionalBar(options)
全局类: 三维柱状图层管理
Parameters:
Name | Type | Description |
---|---|---|
options |
barLayerStyleOptionsType
|
柱状样式配置、 |
Example
const barLayer = new Cesium.Scene.ThreeDimensionalBar({label: {font: 'bold 16px Arial' }})
Methods
# addDataToLayer(options)
添加3D柱状图层
Parameters:
Name | Type | Description |
---|---|---|
options |
barLayerDataType
|
聚合数据 |
Example
const barLayer = new Cesium.Scene.ThreeDimensionalBar({label: {font: 'bold 16px Arial' }})
barLayer.addDataToLayer(options)
# clear()
移除3D柱状图层
Example
const barLayer = new Cesium.Scene.ThreeDimensionalBar({label: {font: 'bold 16px Arial' }})
barLayer.clear()