多边形图层
    
    
    
    
    
    
        
| Name | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| options | Object | 对象有下面这些属性: 
 | |||||||||||||||||||||
| global | Object | 三维球对象(YouScene.earth) | 
- Implements:
Example:
var layer = youScene.layers.addPolygonLayer({
          id:'123',
          name:'213',
      });Demo:
Members
- 
    
    获取几何面的数量
- 
    
    获取或设置是否可见
Methods
- 
    add(polygon) → Polygon
- 
    
    在图层中添加polygon(贴地面不支持画外边框)Name Type Description polygonPolygon 几何面数据 Returns:添加的几何面数据
- 
    
    清空polygons
- 
    
    销毁polygonLayer- Implements:
 
- 
    getById(id) → Feature
- 
    
    根据id获取图层内对象Name Type Description idString 对象的id Returns:返回查找到的对象,找不到返回undefined- Implements:
 
- 
    getByIndex(index) → Feature
- 
    
    根据索引获取图层内对象Name Type Description indexNumber 对象的索引号,[0, count) Returns:返回查找到的对象,找不到返回undefined- Implements:
 
- 
    
    移除几何面Name Type Description polygonPolygon 对象 Returns:
- 
    
    通过id移除面Name Type Description idString 唯一标识符 Returns:
