new SimpleAnimationObject(options)
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
* |
Properties
|
Methods
-
getAnimationLayer()
-
获取动目标图层
-
addSample(date, longitude, latitude, height)
-
添加一个采样点
Parameters:
Name Type Description date
Date 位置采样点时间 longitude
Degrees 在指定时间时的经度 latitude
Degrees 在指定时间时的纬度 height
Number 在指定时间时的高度 -
destroy()
-
销毁动目标,不应该由用户调用,如果需要销毁,请调用module:csanimation.AnimationLayer#removeAnimationObject