s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
11 lines • 560 B
TypeScript
import type { ProjectionParams } from './projections';
import type { Transformer } from './transformer';
/**
* Parse a proj4 string or object into a projection object
* TODO: Support json objects that use the jsonScheme.ts file
* @param code - a proj4 projection definition string or object
* @param transformer - the transformer to build the projection state around
* @returns - a projection object
*/
export declare function parseProj(code: string | ProjectionParams, transformer: Transformer): ProjectionParams;
//# sourceMappingURL=parseCode.d.ts.map