On this page

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;
}

Type Declaration

Was this helpful?
SDK JS
Reference
math