Members
    绘制模式 <0 时不进入绘制,>0进入绘制模式 @see DRAW_MODE
viewer3D : Viewer3D
Methods
    添加billboard
    
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options | 
            
            Object | 
            
                
                
  | 
        
Returns:
    billboard
    
    创建 label
    
| Name | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | 
            
            Object | 
            
                
                
  | 
        
Returns:
    entity
    
    创建坐标点
    
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | 
            
            Object | 
            
                
                        optional
                
                
                
            
                点的设置信息
                
  | 
        
Returns:
    promise.Object
    
    清理函数
    
| Name | Type | Description | 
|---|---|---|
mark | 
            
            String | 实体类区分标记 用于不同模块清理痕迹 | 
    清理绘制痕迹
    
| Name | Type | Description | 
|---|---|---|
mark | 
            
            String | 实体类区分标记 用于不同模块清理痕迹 | 
    清除所有label
    
| Name | Type | Description | 
|---|---|---|
mark | 
            
            String | 实体类区分标记 用于不同模块清理痕迹 | 
    创建带高程多边形
    
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | 
            
            Object | 
            
                
                
  | 
        
Returns:
    创建坐标点
    
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
position | 
            
            Cartesian3 | optional 点的位置 | ||||||||||||||||||
entity | 
            
            Entity | optional 点的父类 即这个点归属于哪一个entity | ||||||||||||||||||
options | 
            
            Object | 
            
                
                        optional
                
                
                
            
                点的设置信息
                
  | 
        
Returns:
    promise.Object
    
    创建多边形
    
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | 
            
            Object | 
            
                
                
  | 
        
Returns:
    promise
    
    创建线段
    
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | 
            
            Object | 
            
                
                        optional
                
                
                
            
                
                
  | 
        
Returns:
    绘制矩形区域
    
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | 
            
            Object | 
            
                
                
  | 
        
Returns:
    promise.Object
    
    根据条件来结束绘制
    进入编辑模式 编辑对象坐标点位置
    
| Name | Type | Description | 
|---|---|---|
callback | 
            
            function | optional callback(Array[Cartesian3,……])回调函数用于返回标记后的坐标点数组 | 
    退出编辑模式,并清除编辑模式下的entity callback
    获取最高最低点
    
| Name | Type | Description | 
|---|---|---|
pointArr | 
            
            Array | 坐标点数组 [Cartesian3,....] | 
Returns:
    {low:1,high:1}
    
    设置相机锁定与不锁定状态
    
| Name | Type | Description | 
|---|---|---|
viewer | 
            
            Viewer | 主视图类 | 
state | 
            
            Boolean | false解锁镜头移动,true锁定镜头移动 | 
