GOAnimationManager

new Cesium.GOAnimationManager(options)

Animation management class, 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 the original geometric object.
Returns:
Animated object

execute() → Boolean

Execution animation
Returns:
Is there an animation?

findGOAnimationByFeature(feature) → Array.<GOAnimation>

Find animations based on plotted objects
Name Type Description
feature GeoGraphicObject Plot the object.
Returns:
Animated object

findGOAnimationByName(name) → GoAnimation

Find an animation based on the name of the animation
Name Type Description
name String Animation name
Returns:
Animated object

findGOAnimationsByUuid(uuid) → Array.<GOAnimation>

Find animations based on uuid
Name Type Description
uuid String Uid of the uuid object
Returns:
Animated object

openEvoFileOnServer(evoFileName)

Open animation file
Name Type Description
evoFileName Animation script file name

pause()

Pause all animations

play()

Play all animations

removeAllGOAnimation()

Remove all animations.

removeGOAnimation(goAnimation) → boolean

Delete animation
Name Type Description
goAnimation GOAnimation Animated object.
Returns:
Whether to delete successfully

removeGOAnimationByFeature(feature) → boolean

Delete animation based on the plotted object
Name Type Description
feature GeoGraphicObject Plot the object.
Returns:
Whether to delete successfully

removeGOAnimationByName(name) → Boolean

Delete animation by name
Name Type Description
name String Animation name
Returns:
Whether to delete successfully

reset()

Reset all animations

saveEvoFile(evoFileName, isCover)

Save the animation as a json file and upload the server
Name Type Description
evoFileName Saved file name
isCover Whether to overwrite or save

stop()

Stop playing all animations