MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / search

Method search

src/common/iServer/ImageService.js:77–83  ·  view source on GitHub ↗

* @function ImageSearchService.prototype.search * @description 查询与过滤条件匹配的影像数据。 * @param {ImageSearchParameter} [imageSearchParameter] 查询参数。 * @param {RequestCallback} [callback] - 回调函数,该参数未传时可通过返回的 promise 获取结果。 * @returns {Promise} Promise 对象。

(imageSearchParameter, callback)

Source from the content-addressed store, hash-verified

75 * @returns {Promise} Promise 对象。
76 */
77 search(imageSearchParameter, callback) {
78 var postBody = { ...(imageSearchParameter || {}) };
79 var me = this;
80 var path = Util.convertPath('/search');
81 var url = Util.urlPathAppend(me.url, path);
82 return this._processAsync({ url, method: 'POST', data: postBody, callback });
83 }
84
85 _processAsync({ url, method, callback, data }) {
86 return this.request({

Callers 12

SearchViewSpec.jsFile · 0.45
showDetailsFunction · 0.45
_initViewFunction · 0.45
ImageService.jsFile · 0.45
_getInExtentFunction · 0.45
_getInExtentMethod · 0.45
ol.jsFile · 0.45

Calls 1

_processAsyncMethod · 0.95

Tested by

no test coverage detected