UNPKG

leaflet

Version:

JavaScript library for mobile-friendly interactive maps

18 lines (17 loc) • 643 B
import { LatLng } from '../LatLng.js'; import { Bounds } from '../../geometry/Bounds.js'; import { Point } from '../../geometry/Point.js'; import type { LatLngExpression, PointExpression } from '../../types.js'; /** * Elliptical Mercator projection — more complex than Spherical Mercator. Assumes that Earth is an ellipsoid. Used by * the EPSG:3395 CRS. */ export declare const MercatorProjection: { R: number; R_MINOR: number; bounds: Bounds; /** @param {LatLngExpression} latlng */ project(latlng: LatLngExpression): Point; /** @param {PointExpression} point */ unproject(point: PointExpression): LatLng; };