Class: GeoCodingParameter

GeoCodingParameter

地理正向匹配参数类。

new GeoCodingParameter(options)

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

</script>

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

new GeoCodingParameter(options);

common/iServer/GeoCodingParameter.js, line 6
Name Type Description
options Object

参数。

Name Type Description
address string

地点关键词。

fromIndex number 可选

设置返回对象的起始索引值。

toIndex number 可选

设置返回对象的结束索引值。

filters Array.<string> 可选

过滤字段,限定查询区域。

prjCoordSys string 可选

查询结果的坐标系。

maxReturn number 可选

最大返回结果数。

Members

addressstring

地点关键词。

filtersArray.<string>

过滤字段,限定查询区域。

fromIndexnumber

设置返回对象的起始索引值。

maxReturnnumber

最大返回结果数。

prjCoordSysstring

查询结果的坐标系。

toIndexnumber

设置返回对象的结束索引值。

Methods

destroy()

common/iServer/GeoCodingParameter.js, line 63

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