new Cesium.GeographicProjection(ellipsoid)

通过乘法将经度和纬度线性映射到X和Y的简单映射 them by the Ellipsoid#maximumRadius. This projection 通常称为地理,等距,等距圆柱形,或板状碳化物. 当使用 NT 0 椭圆时,它 也被称为 EPSG :4326.
Name Type Default Description
ellipsoid Ellipsoid Ellipsoid.default optional The ellipsoid.
See:

Members

readonly ellipsoid : Ellipsoid

Gets the Ellipsoid.

Methods

project(cartographic, result)Cartesian3

Projects a set of Cartographic coordinates, in radians, to map coordinates, in meters. X 和 Y 分别是经度和纬度,乘以最大半径 椭圆形。 Z是未修改的高度.
Name Type Description
cartographic Cartographic 坐标到投影.
result Cartesian3 optional 一个复制结果的例子。 如果此参数是 未定义, 创建并返回新实例 .
Returns:
投影坐标. 如果结果参数不是未定义,则 坐标被复制到那里,然后返回实例。 否则,一个新的例子是 创建并返回.

unproject(cartesian, result)Cartographic

Unprojects a set of projected Cartesian3 coordinates, in meters, to Cartographic 坐标,以弧度表示。 经度和纬度分别为X坐标和Y坐标, 除以椭圆的最大半径。 高度是未修改的Z坐标.
Name Type Description
cartesian Cartesian3 笛卡尔位置以米高(z)解射.
result Cartographic optional 一个复制结果的例子。 如果此参数是 未定义, 创建并返回新实例 .
Returns:
未预测坐标. 如果结果参数不是未定义,则 坐标被复制到那里,然后返回实例。 否则,一个新的例子是 创建并返回.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.