import { type CommonProjectionType } from './Projection'; import Coordinate from '../Coordinate'; import { type WGS84SphereType } from '../measurer'; declare const EPSG3857Projection: { /** * "EPSG:3857", Code of the projection * @constant */ code: string; rad: number; metersPerDegree: number; maxLatitude: number; project: (lnglat: Coordinate, out?: Coordinate) => Coordinate; unproject: (pLnglat: Coordinate, out?: Coordinate) => Coordinate; }; export type EPSG3857ProjectionType = CommonProjectionType & typeof EPSG3857Projection & WGS84SphereType; /** * Google 地图或 OSM 地图使用的常规投影,又名墨卡托投影。
* 这是地图的默认投影。 * * @english * Well-known projection used by Google maps or Open Street Maps, aka Mercator Projection.
* It is map's default projection. * * @category geo * @protected * @group projection * @name EPSG3857 * {@inheritDoc projection.Common} * {@inheritDoc measurer.WGS84Sphere} */ declare const _default: { code: string; is(code: string): boolean; project(p: Coordinate): Coordinate; unproject(p: Coordinate): Coordinate; projectCoords(coordinates: Coordinate[] | Coordinate[][] | Coordinate[][][], antiMeridian?: boolean): Coordinate[] | Coordinate[][] | Coordinate[][][]; unprojectCoords(projCoords: Coordinate[] | Coordinate[][] | Coordinate[][][]): Coordinate[] | Coordinate[][] | Coordinate[][][]; isSphere(): boolean; isOutSphere(pcoord: Coordinate): boolean; wrapCoord(pcoord: Coordinate): Coordinate; getCircum(): Record; getSphereExtent(): import("..").Extent; } & { /** * "EPSG:3857", Code of the projection * @constant */ code: string; rad: number; metersPerDegree: number; maxLatitude: number; project: (lnglat: Coordinate, out?: Coordinate) => Coordinate; unproject: (pLnglat: Coordinate, out?: Coordinate) => Coordinate; } & { measure: string; sphere: { radius: number; measureLenBetween(c1: import("../Coordinate").CoordinateJson | Coordinate, c2: import("../Coordinate").CoordinateJson | Coordinate, ignoreAltitude?: boolean): number; measureArea(coordinates: (import("../Coordinate").CoordinateJson | Coordinate)[]): number; locate(c: import("../Coordinate").CoordinateJson | Coordinate, xDist: number, yDist: number, out?: Coordinate): Coordinate; _locate(c: Coordinate, xDist: number, yDist: number): Coordinate; rotate(c: import("../Coordinate").CoordinateJson | Coordinate, pivot: Coordinate, angle: number): Coordinate; _rotate(c: Coordinate, pivot: Coordinate, angle: number): Coordinate; }; measureLenBetween(c1: import("../Coordinate").CoordinateJson | Coordinate, c2: import("../Coordinate").CoordinateJson | Coordinate): number; measureArea(coordinates: Coordinate[]): number; _locate(c: import("../Coordinate").CoordinateJson | Coordinate, xDist: number, yDist: number): any; locate(c: import("../Coordinate").CoordinateJson | Coordinate, xDist: number, yDist: number, out?: Coordinate): any; _rotate(c: Coordinate, pivot: Coordinate, angle: number): any; rotate(c: import("../Coordinate").CoordinateJson | Coordinate, pivot: Coordinate, angle: number): any; } & { measureLength: (c1: Coordinate, c2: Coordinate) => number; }; export default _default; //# sourceMappingURL=Projection.EPSG3857.d.ts.map