UNPKG

leaflet

Version:

JavaScript library for mobile-friendly interactive maps

10 lines (8 loc) 252 B
/* * L.CRS.EPSG4326 is a CRS popular among advanced GIS specialists. */ L.CRS.EPSG4326 = L.extend({}, L.CRS.Earth, { code: 'EPSG:4326', projection: L.Projection.LonLat, transformation: new L.Transformation(1 / 180, 1, -1 / 180, 0.5) });