Google Maps,Bing Maps使用的地图投影,以及ArcGIS Online的大部分, NT 0 :3857. 这个
projection use longitude and latitude expressed with the WGS84 and transforms them to Mercator using
球形(而不是椭圆形)方程.
| Name | Type | Default | Description |
|---|---|---|---|
ellipsoid |
Ellipsoid |
Ellipsoid.WGS84
|
optional The ellipsoid. |
See:
Members
Methods
将−PI/2 到 PI/2 之间的弧度大地纬度转换为Mercator
角度 - PI 到 PI.
| Name | Type | Description |
|---|---|---|
latitude |
number | 弧度的大地纬度. |
Returns:
麦卡托的角度.
将 Mercator 角度,在范围 - PI 中转换为 PI, 转换为大地纬度
在范围 -PI/2 到PI/2.
| Name | Type | Description |
|---|---|---|
mercatorAngle |
number | 转换角度 . |
Returns:
弧度的大地纬度.
project(cartographic, result) → Cartesian3
将弧度的大地椭圆坐标转换为等效的Web Mercator
X, Y, Z coordinates expressed in meters and returned in a
Cartesian3. The height
将被复制到 Z 坐标.
| Name | Type | Description |
|---|---|---|
cartographic |
Cartographic | 绘图坐标为弧度. |
result |
Cartesian3 | optional 复制结果的示例,或者如果 应创建新实例. |
Returns:
等效的网商X,Y,Z坐标,以米计.
unproject(cartesian, result) → Cartographic
Converts Web Mercator X, Y coordinates, expressed in meters, to a
Cartographic
包含大地椭圆坐标。 Z 坐标未修改为
height.
| Name | Type | Description |
|---|---|---|
cartesian |
Cartesian3 | 网络商笛卡尔的位置以米高(z)解射. |
result |
Cartographic | optional 复制结果的示例,或者如果 应创建新实例. |
Returns:
等效地图坐标.