Class: BuffersAnalystJobsParameter

BuffersAnalystJobsParameter

缓冲区分析任务参数类。

new BuffersAnalystJobsParameter(options)

Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/openlayers/iclient-ol.js"></script>
<script>
  new ol.supermap.BuffersAnalystJobsParameter(options);
  
  // 弃用的写法
  new SuperMap.BuffersAnalystJobsParameter(options);

</script>

// ES6 Import
import { BuffersAnalystJobsParameter } from '@supermap/iclient-ol';

new BuffersAnalystJobsParameter(options);

common/iServer/BuffersAnalystJobsParameter.js, line 9
Name Type Description
options Object

参数。

Name Type Default Description
datasetName string

数据集名。

bounds SuperMap.Bounds | L.Bounds | L.LatLngBounds | ol.extent | mapboxgl.LngLatBounds | GeoJSONObject 可选

分析范围(默认为全图范围)。

distance string '15' 可选

缓冲距离,或缓冲区半径。

distanceField string 'pickup_latitude' 可选

缓冲区分析距离字段。

distanceUnit AnalystSizeUnit AnalystSizeUnit.METER 可选

缓冲距离单位单位。

output OutputSetting 可选

输出参数设置。

mappingParameters MappingParameters 可选

分析后结果可视化的参数类。

Members

分析范围。

datasetNamestring

数据集名。

dissolveFieldstring

融合字段,根据字段值对缓冲区结果面对象进行融合。

distancestring

缓冲距离,或称为缓冲区半径。当缓冲距离字段为空时,此参数有效。

Default Value:
'15'

distanceFieldstring

缓冲距离字段。

Default Value:
'pickup_latitude'

distanceUnitAnalystSizeUnit

缓冲距离单位。

Default Value:
AnalystSizeUnit.METER

mappingParametersMappingParameters

分析后结果可视化的参数类。

输出参数设置类。

Methods

static toObject(BuffersAnalystJobsParameter, tempObj)

common/iServer/BuffersAnalystJobsParameter.js, line 103

生成缓冲区分析任务对象。

Name Type Description
BuffersAnalystJobsParameter BuffersAnalystJobsParameter

缓冲区分析任务参数。

tempObj Object

目标对象。

destroy()

common/iServer/BuffersAnalystJobsParameter.js, line 82

释放资源,将引用资源的属性置空。