How to use the proj4/lib/core.js.Proj function in proj4

To help you get started, we’ve selected a few proj4 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github camptocamp / ngeo / src / proj / lcc.js View on Github external
/**
 * @module ngeo.proj.lcc
 */
import proj4 from 'proj4/lib/core.js';
import lcc from 'proj4/lib/projections/lcc.js';


proj4.Proj.projections.add(lcc);
const exports = 'lcc';


export default exports;
github camptocamp / ngeo / src / proj / utm.js View on Github external
/**
 * @module ngeo.proj.utm
 */
import proj4 from 'proj4/lib/core.js';
import utm from 'proj4/lib/projections/utm.js';


proj4.Proj.projections.add(utm);
const exports = 'utm';


export default exports;

proj4

Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.

MIT
Latest version published 29 days ago

Package Health Score

89 / 100
Full package analysis

Similar packages