new DataFlowService(url, options)
Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/openlayers/iclient-ol.js"></script>
<script>
  new ol.supermap.DataFlowService(url, options);
  
</script>
// ES6 Import
import { DataFlowService } from '@supermapgis/iclient-ol';
new DataFlowService(url, options);
        
        
        
            openlayers/services/DataFlowService.js, line 7
        
        
    | Name | Type | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| url | string | 服务地址。 | ||||||||||||||||||||||||||||
| options | Object | 参数。 
 | 
Example
new DataFlowService(url).queryChart(param,function(result){
         //doSomething
     })Extends
Methods
- 
    broadcast(obj)openlayers/services/DataFlowService.js, line 60
- 
    
    加载广播数据。 Name Type Description objJSONObject JSON 格式的要素数据。 
- 
    initBroadcast(){DataFlowService}openlayers/services/DataFlowService.js, line 50
- 
    
    初始化广播。 Returns:Type Description DataFlowService - 数据流服务。
 
- 
    initSubscribe()openlayers/services/DataFlowService.js, line 69
- 
    
    初始化订阅数据。 
- 
    setExcludeField(excludeField)openlayers/services/DataFlowService.js, line 78
- 
    
    设置排除字段。 Name Type Description excludeFieldObject 排除字段。 
- 
    setGeometry(geometry)openlayers/services/DataFlowService.js, line 89
- 
    
    设置添加的几何要素数据。 Name Type Description geometryGeoJSONObject 指定几何范围,只有在该范围内的要素才能被订阅。 
- 
    unBroadcast()openlayers/services/DataFlowService.js, line 108
- 
    
    结束加载广播。 
- 
    unSubscribe()openlayers/services/DataFlowService.js, line 100
- 
    
    结束订阅数据。