leaflet
Version:
JavaScript library for mobile-friendly interactive maps
21 lines (20 loc) • 1.02 kB
TypeScript
import { EarthCRS } from './EarthCRS.js';
import { Transformation } from '../../geometry/Transformation.js';
/**
* A common CRS among GIS enthusiasts. Uses simple Equirectangular projection.
*
* Leaflet complies with the [TMS coordinate scheme for
* EPSG:4326](https://wiki.osgeo.org/wiki/Tile_Map_Service_Specification#global-geodetic). If you are using a
* `TileLayer` with this CRS, ensure that there are two 256x256 pixel tiles covering the whole earth at zoom level
* zero, and that the tile coordinate origin is (-180,+90), or (-180,-90) for `TileLayer`s with [the `tms`
* option](#tilelayer-tms) set.
*/
export declare class EPSG4326 extends EarthCRS {
static code: string;
static projection: {
project(latlng: import("../LatLng.js").LatLngExpression): import("../../Leaflet.js").Point;
unproject(point: import("../../types.js").PointExpression): import("../LatLng.js").LatLng;
bounds: import("../../Leaflet.js").Bounds;
};
static transformation: Transformation;
}