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

Method load

src/common/online/Online.js:42–46  ·  view source on GitHub ↗

* @function Online.prototype.load * @description 加载 online,验证 online 是否可用。 * @returns {Promise} 包含网络请求结果的 Promise 对象。

()

Source from the content-addressed store, hash-verified

40 * @returns {Promise} 包含网络请求结果的 Promise 对象。
41 */
42 load() {
43 return FetchRequest.get(this.rootUrl).then(function (response) {
44 return response;
45 });
46 }
47
48 /**
49 * @function Online.prototype.login

Callers 15

OnlineDataSpec.jsFile · 0.45
WebMap.jsFile · 0.45
mapbox-gl.jsFile · 0.45
mapv.min.jsFile · 0.45
mapv.jsFile · 0.45
echarts-en.min.jsFile · 0.45
hxFunction · 0.45
echarts.min.jsFile · 0.45
hxFunction · 0.45
ol.jsFile · 0.45
zhFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected