leaflet
Version:
JavaScript library for mobile-friendly interactive maps
18 lines (17 loc) • 795 B
TypeScript
import { LatLng } from '../LatLng.js';
import { Bounds } from '../../geometry/Bounds.js';
import { Point } from '../../geometry/Point.js';
import type { LatLngExpression, PointExpression } from '../../types.js';
/** @import {LatLngExpression, PointExpression} from '../../types.js' */
/**
* Equirectangular, or Plate Carree projection — the most simple projection, mostly used by GIS enthusiasts. Directly
* maps `x` as longitude, and `y` as latitude. Also suitable for flat worlds, e.g. game maps. Used by the `EPSG:4326`
* and `Simple` CRS.
*/
export declare const LonLatProjection: {
/** @param {LatLngExpression} latlng */
project(latlng: LatLngExpression): Point;
/** @param {PointExpression} point */
unproject(point: PointExpression): LatLng;
bounds: Bounds;
};