webMercatorToWgs84
Converts a Web Mercator point (EPSG:3857) to a WGS 84 position
(EPSG:4326). The latitude is clamped to ±MAX_MERCATOR_LATITUDE.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { webMercatorToWgs84 } from "@mapcairn/core";
function webMercatorToWgs84(point: WebMercatorPoint): LatLng;
Parameters
point(WebMercatorPoint)
Returns
LatLng
Throws
GeometryErrorof kindinvalidwhen a coordinate is not finite.