Code coverage report for src/geo/projection/Projection.LonLat.js

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

All files » src/geo/projection/ » Projection.LonLat.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14        1                  
/*
 * Simple equirectangular (Plate Carree) projection, used by CRS like EPSG:4326 and Simple.
 */
 
L.Projection.LonLat = {
	project: function (latlng) {
		return new L.Point(latlng.lng, latlng.lat);
	},
 
	unproject: function (point) {
		return new L.LatLng(point.y, point.x);
	}
};