GOAnimationScale

new Cesium.GOAnimationScale(options)

Dynamic plotting
Name Type Description
options Object optional The object has the following properties:
Name Type Default Description
startTime Number 0 optional Animation start time in seconds
duration Number 0 optional Animation duration in seconds
name String "" optional Animated name, unique identifier of the animation
repeat Boolean false optional Whether to repeat the loop play, the default is false
startScale Number 0 optional Start ratio, default is 0
endScale Number 1.0 optional End ratio, default is 1

Members

duration : Number

Animation duration in seconds

endScale : Number

End ratio
Default Value: 1

lastScale : Number

Label last scaling
Default Value: 0

name : String

Animated name, unique identifier of the animation

repeat : Boolean

Whether to repeat the loop play, the default is false

startScale : Number

Starting ratio
Default Value: 0

startTime : Number

Animation start time in seconds

Methods

destroy()

Destroy objects and free up resources.

getGOAnimationType()GOAnimationType

Get the animation type
Returns:
Animation type

pause()

Pause animation

play()

Play animation

reset()

Reset animation

setAnimationName(name)Boolean

Set the animation name
Name Type Description
name String Animation name
Returns:
Whether the setting is successful

stop()

Stop animation