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

Function revertCRS

test/tool/mock_mapboxgl_map.js:509–518  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

507
508
509function revertCRS() {
510 keyCache.forEach((key) => {
511 if (['EPSG4490', 'EPSG4214', 'EPSG4610', 'EPSG3857', 'EPSG4326'].indexOf(key) === -1) {
512 if (CRS.hasOwnProperty(key)) {
513 delete CRS[key];
514 }
515 }
516 });
517 keyCache = [];
518}
519export default Map;
520var mapboxglMock = { Map };
521export { mapboxglMock, CRS, proj4, revertCRS };

Callers 14

InitMapSpec.jsFile · 0.90
VideoMapSpec.jsFile · 0.90
WebMapV2Spec.jsFile · 0.90
WebMapSpec.jsFile · 0.90
WebMapV3Spec.jsFile · 0.90
WebMapV22Spec.jsFile · 0.90
MapExtendSpec.jsFile · 0.90
L7LayerSpec.jsFile · 0.90
ThreeLayerSpec.jsFile · 0.90
VideoLayerSpec.jsFile · 0.90
MapvLayerSpec.jsFile · 0.90

Calls 2

forEachMethod · 0.80
indexOfMethod · 0.80

Tested by

no test coverage detected