new SetDatasourceParameters(options)
Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
new L.supermap.SetDatasourceParameters(options);
// 弃用的写法
new SuperMap.SetDatasourceParameters(options);
</script>
// ES6 Import
import { SetDatasourceParameters } from '@supermapgis/iclient-leaflet';
new SetDatasourceParameters(options);
common/iServer/SetDatasourceParameters.js, line 6
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
参数。
|
Members
-
coordUnitstring
-
坐标单位。
-
datasourceNamestring
-
数据源名称。
-
descriptionstring
-
数据源描述信息。
-
distanceUnitstring
-
距离单位。
Methods
-
destroy()
common/iServer/SetDatasourceParameters.js, line 55 -
释放资源,将引用资源的属性置空。