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

Method handleProxy

src/common/mapping/WebMapService.js:984–994  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

982 }
983
984 handleProxy(type) {
985 if (!this.proxy) {
986 return null;
987 }
988 const proxySuffix = this.proxyOptions[type || 'data'];
989 let proxy = this.serverUrl + proxySuffix;
990 if (typeof this.proxy === 'string') {
991 proxy = this.proxy;
992 }
993 return proxy;
994 }
995
996 handleWithCredentials(proxyUrl, serviceUrl, defaultValue = this.withCredentials) {
997 if (serviceUrl && serviceUrl.includes('https://www.supermapol.com')) {

Callers 15

getWmsInfoMethod · 0.95
getMapBoxStyleMethod · 0.95
getWmtsInfoMethod · 0.95
_queryFeatureBySQLMethod · 0.95
_getDataflowInfoMethod · 0.95
_getDataFromIportalMethod · 0.95
_getDatasetsInfoMethod · 0.95
_getDatasourcesMethod · 0.95
_getDataServiceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected