Constructor
new LayerSplit(viewer, opt)
- Description:
- 卷帘对比类
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
viewer |
Cesium.Viewer | 地图viewer对象 | ||||||
opt |
Object |
Properties
|
Members
layer
Properties:
Name | Type | Description |
---|---|---|
layer |
Cesium.Layer | 对比的图层 |
Methods
destroy()
- Description:
- 销毁
setLayer(layer)
- Description:
- 设置对比图层
Parameters:
Name | Type | Description |
---|---|---|
layer |
Cesium.Layer | 图层对象 |