new GetGridCellInfosParameters(options)
Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/maplibregl/iclient-maplibregl.js"></script>
<script>
new maplibregl.supermap.GetGridCellInfosParameters(options);
// 弃用的写法
new SuperMap.GetGridCellInfosParameters(options);
</script>
// ES6 Import
import { GetGridCellInfosParameters } from '@supermapgis/iclient-maplibregl';
new GetGridCellInfosParameters(options);
common/iServer/GetGridCellInfosParameters.js, line 6
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
参数。
|
Members
-
boundsArray Object
-
要查询的地理范围。
Example
矩形范围范例:{ "leftBottom":{"x":112.351881,"y":34.663401}, "rightTop":{"x":113.361881,"y":35.673401} } 多点范例多点范例:[ {"point":{"x": 112.361881,"y": 34.673401}}, {"point":{"x": 107.669629,"y": 32.888868}} ]
-
datasetNamestring
-
数据集名称。
-
dataSourceNamestring
-
数据源名称。
-
Xnumber
-
要查询的地理位置 X 坐标。
-
Ynumber
-
要查询的地理位置 Y 坐标。
Methods
-
destroy()
common/iServer/GetGridCellInfosParameters.js, line 68 -
释放资源,将引用的资源属性置空。