Members
layerRoot : LayerNode
    图层根节点
roadRoot : LayerNode
    路线根节点
viewer3D : Viewer3D
Methods
    加载图层
如果图层加载成功触发
    
EventType#LAYER_ADD图层加载事件
| Name | Type | Description | 
|---|---|---|
node | 
            
            LayerNode | 
    清理当前图层树
    打包图层数据
Returns:
    定位图层
    
| Name | Type | Description | 
|---|---|---|
node | 
            
            LayerNode | 
    获取图层节点的实例对象
    
| Name | Type | Description | 
|---|---|---|
node | 
            
            LayerNode | 
Returns:
    根据path获取叶子Node
    
| Name | Type | Description | 
|---|---|---|
path | 
            
            String | 
    根据path获取Node
    
| Name | Type | Description | 
|---|---|---|
path | 
            
            String | 
    卸载之前的图层树,加载新的图层树
    
| Name | Type | Description | 
|---|---|---|
layers | 
            
            Object | 
    添加图层处理器,用户可自定义
    
| Name | Type | Description | 
|---|---|---|
processor | 
            
            Processor | 
- Processor
 - CZMLProcessor
 - ImageProviderProcessor
 - TilesetProcessor
 
See:
    加载数据 暂时只写了CZML的方法,用于桩号标注查询
    
| Name | Type | Description | 
|---|---|---|
node | 
            
            LayerType | |
arr | 
            
            Array | 
    打包图层数据
Returns:
    卸载图层
图层存在触发
    
EventType#LAYER_REMOVE图层卸载事件,该事件是在调用processor.remove之前触发,如果是Tileset的话,在remove该CesiumTileset对象之前触发
| Name | Type | Description | 
|---|---|---|
node | 
            
            LayerNode | 
    设置路线根节点
    
| Name | Type | Description | 
|---|---|---|
roadRootName | 
            
            String | 
    卸载数据 暂时只写了CZML的方法,用于桩号标注查询
    
| Name | Type | Description | 
|---|---|---|
node | 
            
            LayerType | 
