MapProjection

external class MapProjection(source)

Defines how geodetic ellipsoid coordinates (Cartographic) project to a flat map like Cesium's 2D and Columbus View modes.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun project(cartographic: Cartographic, result: Cartesian3? = definedExternally): Cartesian3

Projects Cartographic coordinates, in radians, to projection-specific map coordinates, in meters.

Link copied to clipboard
fun unproject(cartesian: Cartesian3, result: Cartographic? = definedExternally): Cartographic

Unprojects projection-specific map Cartesian3 coordinates, in meters, to Cartographic coordinates, in radians.