add CRS.Simple to the build
This commit is contained in:
parent
7ed96d6ed1
commit
cac035af93
@ -32,6 +32,7 @@ An in-progress version being developed on the master branch.
|
|||||||
* Added `Control.Layers` `baselayerchange` event (by [@jfirebaugh](https://github.com/jfirebaugh)). [#1064](https://github.com/CloudMade/Leaflet/pull/1064)
|
* Added `Control.Layers` `baselayerchange` event (by [@jfirebaugh](https://github.com/jfirebaugh)). [#1064](https://github.com/CloudMade/Leaflet/pull/1064)
|
||||||
* Improved `Control.Layers` to support HTML in layer names (by [@aparshin](https://github.com/aparshin)). [#1055](https://github.com/CloudMade/Leaflet/pull/1055) [#1099](https://github.com/CloudMade/Leaflet/issues/1099)
|
* Improved `Control.Layers` to support HTML in layer names (by [@aparshin](https://github.com/aparshin)). [#1055](https://github.com/CloudMade/Leaflet/pull/1055) [#1099](https://github.com/CloudMade/Leaflet/issues/1099)
|
||||||
* Removed `Browser` `ua`, `ie`, `gecko`, `opera` properties (no longer needed).
|
* Removed `Browser` `ua`, `ie`, `gecko`, `opera` properties (no longer needed).
|
||||||
|
* Added `CRS.Simple` to the list of built-in CRS. It was added earlier but not included in the build.
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ var deps = {
|
|||||||
'geo/projection/Projection.SphericalMercator.js',
|
'geo/projection/Projection.SphericalMercator.js',
|
||||||
'geo/projection/Projection.LonLat.js',
|
'geo/projection/Projection.LonLat.js',
|
||||||
'geo/crs/CRS.js',
|
'geo/crs/CRS.js',
|
||||||
|
'geo/crs/CRS.Simple.js',
|
||||||
'geo/crs/CRS.EPSG3857.js',
|
'geo/crs/CRS.EPSG3857.js',
|
||||||
'geo/crs/CRS.EPSG4326.js',
|
'geo/crs/CRS.EPSG4326.js',
|
||||||
'map/Map.js'],
|
'map/Map.js'],
|
||||||
|
7
dist/leaflet-src.js
vendored
7
dist/leaflet-src.js
vendored
@ -1188,6 +1188,13 @@ L.CRS = {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
L.CRS.Simple = L.Util.extend({}, L.CRS, {
|
||||||
|
projection: L.Projection.LonLat,
|
||||||
|
transformation: new L.Transformation(1, 0, 1, 0)
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
L.CRS.EPSG3857 = L.Util.extend({}, L.CRS, {
|
L.CRS.EPSG3857 = L.Util.extend({}, L.CRS, {
|
||||||
code: 'EPSG:3857',
|
code: 'EPSG:3857',
|
||||||
|
|
||||||
|
2
dist/leaflet.js
vendored
2
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user