leaflet
Version:
JavaScript library for mobile-friendly interactive maps
22 lines (21 loc) • 931 B
TypeScript
import { EarthCRS } from './EarthCRS.js';
import { Transformation } from '../../geometry/Transformation.js';
/**
* The most common CRS for online maps, used by almost all free and commercial tile providers. Uses Spherical Mercator
* projection. Set in by default in Map's `crs` option.
*/
export declare class EPSG3857 extends EarthCRS {
static code: string;
static projection: {
R: number;
MAX_LATITUDE: number;
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;
}
/** The same CRS as `EPSG3857`, with the legacy `'EPSG:900913'` code for WMS services that still expect it. */
export declare class EPSG900913 extends EPSG3857 {
static code: string;
}