墙图层
    
    
    
    
    
    
        
| Name | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | 
            
            Object | 
            
                对象有下面这些属性:
                
  | 
        |||||||||||||||||||||
global | 
            
            Object | 三维球对象(YouScene.earth) | 
- Implements:
 
Example:
var layer = youScene.layers.addWallLayer({
          id:'123',
          name:'213',
      });
    
    
    
    Demo:
Members
- 
    
    获取线的数量
 - 
    
    获取或设置是否可见
 
Methods
- 
    
add(wall) → Wall
 - 
    
    添加线到图层
Name Type Description wallWall wall Returns:
返回添加的线对象 - 
    
    清空walls
 - 
    
    销毁wallLayer
- Implements:
 
 - 
    
getById(id) → Wall
 - 
    
    通过ID查询墙
Name Type Description idString 墙唯一的标识符 Returns:
返回 wall 对象- Implements:
 
 - 
    
getByIndex(index) → Wall
 - 
    
    通过索引查询墙
Name Type Description indexString 墙图层索引 Returns:
} 返回 Wall 对象- Implements:
 
 - 
    
    通过ID查询墙的索引
Name Type Description idString 墙唯一的标识符 Returns:
查得到返回索引,查不到返回-1 - 
    
    移除墙
Name Type Description wallWall 对象  - 
    
    通过id移除墙
Name Type Description idString 唯一标识符 Returns:
移除成功返回true, 失败返回false 
