/opt/canhelp/node_modules/leaflet/src/geo/crs
NameSizeModeActions
CRS.Earth.js11330755editdlrm
CRS.EPSG3395.js5880644editdlrm
CRS.EPSG3857.js8010644editdlrm
CRS.EPSG4326.js9830644editdlrm
CRS.js52810644editdlrm
CRS.Simple.js9260644editdlrm
index.js3940644editdlrm
Edit: /opt/canhelp/node_modules/leaflet/src/geo/crs/CRS.EPSG3857.js (801B)
import {Earth} from './CRS.Earth'; import {SphericalMercator} from '../projection/Projection.SphericalMercator'; import {toTransformation} from '../../geometry/Transformation'; import * as Util from '../../core/Util'; /* * @namespace CRS * @crs L.CRS.EPSG3857 * * The most common CRS for online maps, used by almost all free and commercial * tile providers. Uses Spherical Mercator projection. Set in by default in * Map's `crs` option. */ export var EPSG3857 = Util.extend({}, Earth, { code: 'EPSG:3857', projection: SphericalMercator, transformation: (function () { var scale = 0.5 / (Math.PI * SphericalMercator.R); return toTransformation(scale, 0.5, -scale, 0.5); }()) }); export var EPSG900913 = Util.extend({}, EPSG3857, { code: 'EPSG:900913' });