FlyViewPoint

new Cesium.FlyViewPoint(options)

飞行视点,用在飞行浏览路径FlyViewRoute,描述飞行过程中关键点的位置,姿态,名称,暂停时间,缓动到该位置的函数,
Name Type Description
options Object 具有如下属性
Name Type Default Description
id string optional id.
name string optional 名称.
destination Cartesian3 位置坐标.
orientation HeadingPitchRoll 姿态.
description String "" optional 描述信息.

Members

description : String

描述信息
视点位置

readonly id : String

视点的id
视点的名称

orientation : Object

姿态朝向
Example:
{
    heading : Cesium.Math.toRadians(175.0),
    pitch : Cesium.Math.toRadians(-35.0),
    roll : 0.0
}

Methods

static Cesium.FlyViewPoint.fromJSON(object)FlyViewPoint

从json对象中初始化视点,与FlyViewPoint.prototype.toJSON互为逆过程
Name Type Description
object
Returns:

toJSON()Object

单个视点转成json对象
Returns:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.