1. SatellitePassEffect

卫星轨迹效果

1.1. 初始化 new SatellitePassEffect(options)

Param Type Default Description
options Object

配置

[options.STSpeed] Number 10

可选,飞行速度,默认为10。

options.url String

CZML数据地址,静止卫星、同步卫星轨迹等可在http://www.orbitalpredictor.com/home/中查询下载czml卫星轨迹数据。

Example

let spe = new BOSGeo.SatellitePassEffect({
    url: '../data/data.czml',
    STSpeed: 60
})

1.2. 方法

1.2.1. satellitePassEffect.back()

向后飞行

Example

spe.back();

1.2.2. satellitePassEffect.forward()

向前飞行

Example

spe.forward();

1.2.3. satellitePassEffect.setSpeed(speedNum)

设置飞行速度

Param Type Description
speedNum Number

飞行速度

Example

spe.setSpeed(600);

1.2.4. satellitePassEffect.start()

开始飞行

Example

spe.start()

1.2.5. satellitePassEffect.stop()

暂停飞行

Example

spe.stop()

1.2.6. satellitePassEffect.remove()

清除飞行

Example

spe.remove()
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2022 all right reserved,powered by Gitbook该文件修订时间: 2022-02-22 17:53:54

results matching ""

    No results matching ""