Fixing wrong EPGS3395 transformation
This commit is contained in:
parent
96575af5b5
commit
d10cff3357
@ -7,8 +7,8 @@ L.CRS.EPSG3395 = L.extend({}, L.CRS, {
|
||||
transformation: (function () {
|
||||
var m = L.Projection.Mercator,
|
||||
r = m.R_MAJOR,
|
||||
r2 = m.R_MINOR;
|
||||
scale = 0.5 / (Math.PI * r);
|
||||
|
||||
return new L.Transformation(0.5 / (Math.PI * r), 0.5, -0.5 / (Math.PI * r2), 0.5);
|
||||
return new L.Transformation(scale, 0.5, -scale, 0.5);
|
||||
}())
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user