/
opt
/
canhelp
/
node_modules
/
leaflet
/
src
/
geo
/
crs
/
/opt/canhelp/node_modules/leaflet/src/geo/crs
mkdir
upload
Name
Size
Mode
Actions
CRS.Earth.js
1133
0755
edit
dl
rm
CRS.EPSG3395.js
588
0644
edit
dl
rm
CRS.EPSG3857.js
801
0644
edit
dl
rm
CRS.EPSG4326.js
983
0644
edit
dl
rm
CRS.js
5281
0644
edit
dl
rm
CRS.Simple.js
926
0644
edit
dl
rm
index.js
394
0644
edit
dl
rm
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' });
Save
cmd:
run