GOAnimationManager

new Cesium.GOAnimationManager(options)

Animation management category, responsible for the management of label animation
Name Type Description
options Object optional The object has the following properties:
Name Type Default Description
serverUrl String "" optional Animation service address
scene String null optional Current animation scene

Methods

staticCesium.GOAnimationManager.getInstance(options)GOAnimationManager

Get animation management singleton object
Name Type Description
options Object optional The object has the following properties:
Name Type Default Description
serverUrl String "" optional Animation service address
scene String null optional Current animation scene
Returns:
Animation manager singleton object

createGOAnimation(animationType, name, goFeature)GoAnimation

Create animation
Name Type Description
animationType SuperMap.Plot.GOAnimationType Animation type
name String Animation name
goFeature goFeature Animate primitive geometric objects.
Returns:
Animation object

execute()Boolean

Perform animation
Returns:
Is there an animation or not.

findGOAnimationByFeature(feature)Array.<GOAnimation>

Find animation based on the plotted object
Name Type Description
feature GeoGraphicObject Plot the object.
Returns:
Animation object

findGOAnimationByName(name)GoAnimation

Find animation based on animation name
Name Type Description
name String Animation name
Returns:
Animation object

findGOAnimationsByUuid(uuid)Array.<GOAnimation>

Find animation based on uuid
Name Type Description
uuid String the id of the uuid object
Returns:
Animation object

getAllAnimations()Array

Returns:
Animation array

openEvoFileOnServer(evoFileName)

Open animation file
Name Type Description
evoFileName Animation script file name

pause()

Pause all animations

play()

Play all animations

removeAllGOAnimation()

Delete all animations.

removeGOAnimation(goAnimation)boolean

Delete animation
Name Type Description
goAnimation GOAnimation Animation object.
Returns:
Is the deletion successful

removeGOAnimationByFeature(feature)boolean

Delete animation based on the plot object
Name Type Description
feature GeoGraphicObject Plot the object.
Returns:
Is the deletion successful

removeGOAnimationByName(name)Boolean

Delete animation by name
Name Type Description
name String Animation name
Returns:
Is the deletion successful

reset()

Reset all animations

saveEvoFile(evoFileName, isCover)

Save the animation as a json file and upload it to the server
Name Type Description
evoFileName Saved file name
isCover Overwrite and save (optional)

stop()

Stop all animations