new Feature(layer, lonlat, data)
Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/openlayers/iclient-ol.js"></script>
<script>
  new ol.supermap.Feature(layer, lonlat, data);
  
  // 弃用的写法
  new SuperMap.Feature(layer, lonlat, data);
</script>
// ES6 Import
import { Feature } from '@supermap/iclient-ol';
new Feature(layer, lonlat, data);
        
        
        
            common/commontypes/Feature.js, line 6
        
        
    | Name | Type | Description | 
|---|---|---|
| layer | SuperMap.Layer | 图层。 | 
| lonlat | LonLat | 经纬度。 | 
| data | Object | 数据对象。 | 
Members
- 
    dataObject
- 
    
    数据对象。 
- 
    idstring
- 
    
    要素 ID。 
- 
    deprecated layerSuperMap.Layer
- 
    
    图层。 
- 
    lonlatLonLat
- 
    
    经纬度。 
Methods
- 
    destroy()common/commontypes/Feature.js, line 49
- 
    
    释放相关资源。