move Projection namespace to Projection.LonLat.js

This commit is contained in:
Vladimir Agafonkin 2013-11-30 01:22:10 +02:00
parent 53d47af746
commit 91a01a03da
3 changed files with 3 additions and 7 deletions

View File

@ -11,9 +11,8 @@ var deps = {
'dom/DomUtil.js',
'geo/LatLng.js',
'geo/LatLngBounds.js',
'geo/projection/Projection.js',
'geo/projection/Projection.SphericalMercator.js',
'geo/projection/Projection.LonLat.js',
'geo/projection/Projection.SphericalMercator.js',
'geo/crs/CRS.js',
'geo/crs/CRS.Simple.js',
'geo/crs/CRS.EPSG3857.js',

View File

@ -2,6 +2,8 @@
* Simple equirectangular (Plate Carree) projection, used by CRS like EPSG:4326 and Simple.
*/
L.Projection = {};
L.Projection.LonLat = {
project: function (latlng) {
return new L.Point(latlng.lng, latlng.lat);

View File

@ -1,5 +0,0 @@
/*
* L.Projection contains various geographical projections used by CRS classes.
*/
L.Projection = {};