move Projection namespace to Projection.LonLat.js
This commit is contained in:
parent
53d47af746
commit
91a01a03da
@ -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',
|
||||
|
@ -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);
|
||||
|
@ -1,5 +0,0 @@
|
||||
/*
|
||||
* L.Projection contains various geographical projections used by CRS classes.
|
||||
*/
|
||||
|
||||
L.Projection = {};
|
Loading…
Reference in New Issue
Block a user