tethys-feature-service/node_modules/proj4/lib/index.js

23 lines
612 B
JavaScript
Raw Normal View History

2023-10-02 13:04:02 +00:00
import proj4 from './core';
import Proj from "./Proj";
import Point from "./Point";
import common from "./common/toPoint";
import defs from "./defs";
import nadgrid from "./nadgrid";
import transform from "./transform";
import mgrs from "mgrs";
import includedProjections from "../projs";
proj4.defaultDatum = 'WGS84'; //default datum
proj4.Proj = Proj;
proj4.WGS84 = new proj4.Proj('WGS84');
proj4.Point = Point;
proj4.toPoint = common;
proj4.defs = defs;
proj4.nadgrid = nadgrid;
proj4.transform = transform;
proj4.mgrs = mgrs;
proj4.version = '__VERSION__';
includedProjections(proj4);
export default proj4;