/
opt
/
canhelp
/
node_modules
/
leaflet
/
src
/
geo
/
projection
/
/opt/canhelp/node_modules/leaflet/src/geo/projection
mkdir
upload
Name
Size
Mode
Actions
index.js
1027
0644
edit
dl
rm
Projection.LonLat.js
799
0644
edit
dl
rm
Projection.Mercator.js
1416
0644
edit
dl
rm
Projection.SphericalMercator.js
1122
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/leaflet/src/geo/projection/index.js
(1027B)
/* * @class Projection * An object with methods for projecting geographical coordinates of the world onto * a flat surface (and back). See [Map projection](https://en.wikipedia.org/wiki/Map_projection). * @property bounds: Bounds * The bounds (specified in CRS units) where the projection is valid * @method project(latlng: LatLng): Point * Projects geographical coordinates into a 2D point. * Only accepts actual `L.LatLng` instances, not arrays. * @method unproject(point: Point): LatLng * The inverse of `project`. Projects a 2D point into a geographical location. * Only accepts actual `L.Point` instances, not arrays. * Note that the projection instances do not inherit from Leaflet's `Class` object, * and can't be instantiated. Also, new classes can't inherit from them, * and methods can't be added to them with the `include` function. */ export {LonLat} from './Projection.LonLat'; export {Mercator} from './Projection.Mercator'; export {SphericalMercator} from './Projection.SphericalMercator';
Save
cmd:
run