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

Method isAddProxy

src/openlayers/mapping/WebMap.js:4428–4430  ·  view source on GitHub ↗

* url是否要带上代理 * @param {*} url 请求地址,必选参数。 * @param {*} proxy 是否需要加上代理,可选参数。 * @returns { boolean } 是否带上代理

(url, proxy)

Source from the content-addressed store, hash-verified

4426 * @returns { boolean } 是否带上代理
4427 */
4428 isAddProxy(url, proxy) {
4429 return !CommonUtil.isInTheSameDomain(url) && !this.isIportalProxyServiceUrl(url) && proxy !== false;
4430 }
4431
4432 /**
4433 * @private

Callers 8

getRequestUrlMethod · 0.95
successCallbackFunction · 0.80
createSpecLayerMethod · 0.80
createWMSSourceMethod · 0.80
createWMTSSourceMethod · 0.80
updateFeaturesToMapMethod · 0.80

Calls 1

Tested by

no test coverage detected