2 L
.CRS
.EPSG3857
= L
.Util
.extend({}, L
.CRS
, {
5 projection
: L
.Projection
.SphericalMercator
,
6 transformation
: new L
.Transformation(0.5/Math.PI, 0.5, -0.5/Math
.PI
, 0.5),
8 project: function(/*LatLng*/ latlng
)/*-> Point*/ {
9 var projectedPoint
= this.projection
.project(latlng
),
10 earthRadius
= 6378137;
11 return projectedPoint
.multiplyBy(earthRadius
);
15 L
.CRS
.EPSG900913
= L
.Util
.extend({}, L
.CRS
.EPSG3857
, {