UNPKG

maplair

Version:

JavaScript library for mobile-friendly interactive maps

16 lines (15 loc) • 519 B
import { Transformation } from "../../geometry/Transformation.js"; import { EarthCRS } from "./EarthCRS.js"; import { Mercator } from "../projection/Projection.Mercator.js"; //#region src/geo/crs/EPSG3395.js var EPSG3395 = class extends EarthCRS { static code = "EPSG:3395"; static projection = Mercator; static transformation = (() => { const scale = .5 / (Math.PI * Mercator.R); return new Transformation(scale, .5, -scale, .5); })(); }; //#endregion export { EPSG3395 }; //# sourceMappingURL=EPSG3395.js.map