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

Method _getParamString

src/common/mapping/WebMapV2.js:2501–2507  ·  view source on GitHub ↗
(obj, existingUrl, uppercase = false)

Source from the content-addressed store, hash-verified

2499 }
2500
2501 _getParamString(obj, existingUrl, uppercase = false) {
2502 const params = [];
2503 for (const i in obj) {
2504 params.push((uppercase ? i.toUpperCase() : i) + '=' + obj[i]);
2505 }
2506 return (!existingUrl || existingUrl.indexOf('?') === -1 ? '?' : '&') + params.join('&');
2507 }
2508
2509 /**
2510 * @private

Callers 3

_getWMSUrlMethod · 0.95
_getWMTSUrlMethod · 0.95
_getTiandituUrlMethod · 0.95

Calls 2

pushMethod · 0.80
indexOfMethod · 0.80

Tested by

no test coverage detected