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

Method isCustomProjection

src/openlayers/mapping/WebMap.js:5665–5670  ·  view source on GitHub ↗
(projection)

Source from the content-addressed store, hash-verified

5663 return lang;
5664 }
5665 isCustomProjection(projection) {
5666 if (Util.isNumber(projection)) {
5667 return [-1000, -1].includes(+projection);
5668 }
5669 return ['EPSG:-1000', 'EPSG:-1'].includes(projection);
5670 }
5671
5672 handleJSONSuffix(url) {
5673 if (!url.includes('.json')) {

Callers 3

handleCRSMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected