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

Method _getProjectionWKT

src/common/mapping/WebMapV2.js:2955–2959  ·  view source on GitHub ↗
(projection)

Source from the content-addressed store, hash-verified

2953 }
2954
2955 _getProjectionWKT(projection) {
2956 let epsgCode = toEpsgCode(projection);
2957 const reg = /^EPSG:/;
2958 return epsgCode && projection.match(reg) ? getProjection(epsgCode, this.specifiedProj4) : projection;
2959 }
2960
2961 _fetchRequest(url, type, options) {
2962 return FetchRequest.get(url, null, options)

Callers 1

_registerMapCRSMethod · 0.95

Calls 3

toEpsgCodeFunction · 0.90
getProjectionFunction · 0.90
matchMethod · 0.80

Tested by

no test coverage detected