MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / queryByBounds

Method queryByBounds

src/common/iServer/QueryService.js:42–53  ·  view source on GitHub ↗

* @function QueryService.prototype.queryByBounds * @description 范围查询地图服务。 * @param {QueryByBoundsParameters} params - 范围查询参数类。 * @param {RequestCallback} [callback] - 回调函数,该参数未传时可通过返回的 promise 获取结果。 * @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。 * @re

(params, callback, resultFormat)

Source from the content-addressed store, hash-verified

40 * @returns {Promise} Promise 对象。
41 */
42 queryByBounds(params, callback, resultFormat) {
43 var me = this;
44 var queryService = new QueryByBoundsService(me.url, {
45 proxy: me.options.proxy,
46 withCredentials: me.options.withCredentials,
47 crossOrigin: me.options.crossOrigin,
48 headers: me.options.headers,
49 format: me._processFormat(resultFormat)
50 });
51
52 return queryService.processAsync(params, callback);
53 }
54
55 /**
56 * @function QueryService.prototype.queryByDistance

Callers 5

QueryService.jsFile · 0.45

Calls 2

_processFormatMethod · 0.45
processAsyncMethod · 0.45

Tested by

no test coverage detected