UNPKG

s2maps-gpu

Version:

S2 Maps GPU - An open source, high-performance, and GPU-accelerated map engine for rendering large-scale, interactive maps.

21 lines (20 loc) 912 B
/** Earth's radius in meters */ export declare const EARTH_RADIUS = 6371008.8; /** Earth's equitorial radius in meters */ export declare const EARTH_RADIUS_EQUATORIAL = 6378137; /** Earth's polar radius in meters */ export declare const EARTH_RADIUS_POLAR = 6356752.3; /** The average circumference of Earth in meters. */ export declare const EARTH_CIRCUMFERENCE = 40030228.88407185; /** * Returns the altitude of the lowest known point on Earth in meters. The lowest known * point on Earth is the Challenger Deep with an altitude of 10898 meters * below the surface of the spherical earth. */ export declare const EARTH_LOWEST_ALTITUDE = -10898; /** * Returns the altitude of the highest known point on Earth in meters. The highest * known point on Earth is Mount Everest with an altitude of 8846 meters * above the surface of the spherical earth. */ export declare const EARTH_HIGHEST_ALTITUDE = 8846;