new DataFlow(opt_options)
Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/openlayers/iclient-ol.js"></script>
<script>
  new ol.source.DataFlow(opt_options);
  
</script>
// ES6 Import
import { DataFlow } from '@supermapgis/iclient-ol';
new DataFlow(opt_options);
        
        
        
            openlayers/overlay/DataFlow.js, line 8
        
        
    | Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| opt_options | Object | 参数。 
 | 
Example
var source = new DataFlow({
  ws: urlDataFlow,
  idField:"objectId"
});
var layer = new ol.layer.Vector({
   source: source,
});Extends
Methods
- 
    setExcludeField(excludeField)openlayers/overlay/DataFlow.js, line 70
- 
    
    设置唯一字段。 Name Type Description excludeFieldObject 排除字段。 
- 
    setGeometry(geometry)openlayers/overlay/DataFlow.js, line 81
- 
    
    设置几何图形。 Name Type Description geometryObject 要素图形。