Class: StopQueryParameters

StopQueryParameters

站点查询参数类。此类用于设置交通换乘线路查询中站点名称关键字、返回站点坐标信息等参数。

new StopQueryParameters(options)

Usage
import { StopQueryParameters } from '@supermapgis/iclient-leaflet';

new StopQueryParameters(options);
<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
  new L.supermap.StopQueryParameters({paramsNames});
  // 弃用的写法
  new SuperMap.StopQueryParameters(options);
</script>
common/iServer/StopQueryParameters.js, line 6
Name Type Description
options Object

参数。

Name Type Default Description
keyWord string

站点名称关键字。

returnPosition boolean false 可选

是否返回站点坐标信息。

API Relations

As method parameter: TrafficTransferAnalystService.queryStop.

Members

keyWordstring

站点名称关键字。

returnPositionboolean

是否返回站点坐标信息。

Methods

destroy()

common/iServer/StopQueryParameters.js, line 37

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