diff options
Diffstat (limited to 'extlib/leaflet/src/geo/crs/CRS.EPSG4326.js')
-rw-r--r-- | extlib/leaflet/src/geo/crs/CRS.EPSG4326.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extlib/leaflet/src/geo/crs/CRS.EPSG4326.js b/extlib/leaflet/src/geo/crs/CRS.EPSG4326.js new file mode 100644 index 00000000..1550718d --- /dev/null +++ b/extlib/leaflet/src/geo/crs/CRS.EPSG4326.js @@ -0,0 +1,7 @@ +
+L.CRS.EPSG4326 = L.Util.extend({}, L.CRS, {
+ code: 'EPSG:4326',
+
+ projection: L.Projection.LonLat,
+ transformation: new L.Transformation(1/360, 0.5, -1/360, 0.5)
+});
\ No newline at end of file |