aboutsummaryrefslogtreecommitdiffstats
path: root/extlib/leaflet/src/geo/crs/CRS.EPSG3395.js
blob: 426dc73c9e750b11ae077cb3da8c645fe9f94595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
L.CRS.EPSG3395 = L.Util.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);
	})()
});