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

Method get

test/tool/mock_mapboxgl_map.js:480–489  ·  view source on GitHub ↗
(codeSpec)

Source from the content-addressed store, hash-verified

478 }
479
480 static get(codeSpec) {
481 for (const key in CRS) {
482 if (CRS.hasOwnProperty(key)) {
483 if (CRS[key].getEpsgCode && CRS[key].getEpsgCode() === codeSpec) {
484 return CRS[key];
485 }
486 }
487 }
488 return null;
489 }
490
491 static set(crs) {
492 const key = crs.getEpsgCode().replace(':', '').toUpperCase();

Callers 15

WebMapV2Spec.jsFile · 0.45
WebMapSpec.jsFile · 0.45
WebMapV3Spec.jsFile · 0.45
MapVLayerSpec.jsFile · 0.45
WebMapV2Spec.jsFile · 0.45
WebMapSpec.jsFile · 0.45
WebMapV3Spec.jsFile · 0.45
olms.jsFile · 0.45

Calls 1

getEpsgCodeMethod · 0.45

Tested by

no test coverage detected