Code coverage report for src/geo/crs/CRS.EPSG3395.js

Statements: 100% (3 / 3)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (3 / 3)     

All files » src/geo/crs/ » CRS.EPSG3395.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  1           1       1      
 
L.CRS.EPSG3395 = L.extend({}, L.CRS, {
	code: 'EPSG:3395',
 
	projection: L.Projection.Mercator,
 
	transformation: (function () {
		var m = L.Projection.Mercator,
		    r = m.R_MAJOR,
		    r2 = m.R_MINOR;
 
		return new L.Transformation(0.5 / (Math.PI * r), 0.5, -0.5 / (Math.PI * r2), 0.5);
	}())
});