For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Variable mathConst
math: {
circumferenceAtLatitude: typeof circumferenceAtLatitude;
EARTH_CIRCUMFERENCE: number;
EARTH_RADIUS: number;
haversineCumulatedDistanceWgs84: typeof haversineCumulatedDistanceWgs84;
haversineDistanceWgs84: typeof haversineDistanceWgs84;
haversineIntermediateWgs84: typeof haversineIntermediateWgs84;
latitudeToMercatorY: typeof latitudeToMercatorY;
longitudeToMercatorX: typeof longitudeToMercatorX;
mercatorToTileIndex: typeof mercatorToTileIndex;
mercatorToWgs84: typeof mercatorToWgs84;
mercatorXToLongitude: typeof mercatorXToLongitude;
mercatorYToLatitude: typeof mercatorYToLatitude;
toDegrees: typeof toDegrees;
toRadians: typeof toRadians;
wgs84ToMercator: typeof wgs84ToMercator;
wgs84ToTileIndex: typeof wgs84ToTileIndex;
wrapWgs84: typeof wrapWgs84;
}
circumferenceAtLatitude: typeof circumferenceAtLatitude;
EARTH_CIRCUMFERENCE: number;
EARTH_RADIUS: number;
haversineCumulatedDistanceWgs84: typeof haversineCumulatedDistanceWgs84;
haversineDistanceWgs84: typeof haversineDistanceWgs84;
haversineIntermediateWgs84: typeof haversineIntermediateWgs84;
latitudeToMercatorY: typeof latitudeToMercatorY;
longitudeToMercatorX: typeof longitudeToMercatorX;
mercatorToTileIndex: typeof mercatorToTileIndex;
mercatorToWgs84: typeof mercatorToWgs84;
mercatorXToLongitude: typeof mercatorXToLongitude;
mercatorYToLatitude: typeof mercatorYToLatitude;
toDegrees: typeof toDegrees;
toRadians: typeof toRadians;
wgs84ToMercator: typeof wgs84ToMercator;
wgs84ToTileIndex: typeof wgs84ToTileIndex;
wrapWgs84: typeof wrapWgs84;
}
Type Declaration
-
circumferenceAtLatitude: typeof circumferenceAtLatitude
-
EARTH_CIRCUMFERENCE: number
-
EARTH_RADIUS: number
-
haversineCumulatedDistanceWgs84: typeof haversineCumulatedDistanceWgs84
-
haversineDistanceWgs84: typeof haversineDistanceWgs84
-
haversineIntermediateWgs84: typeof haversineIntermediateWgs84
-
latitudeToMercatorY: typeof latitudeToMercatorY
-
longitudeToMercatorX: typeof longitudeToMercatorX
-
mercatorToTileIndex: typeof mercatorToTileIndex
-
mercatorToWgs84: typeof mercatorToWgs84
-
mercatorXToLongitude: typeof mercatorXToLongitude
-
mercatorYToLatitude: typeof mercatorYToLatitude
-
toDegrees: typeof toDegrees
-
toRadians: typeof toRadians
-
wgs84ToMercator: typeof wgs84ToMercator
-
wgs84ToTileIndex: typeof wgs84ToTileIndex
-
wrapWgs84: typeof wrapWgs84