GOAnimationManager

new SuperMap3D.GOAnimationManager(options)

Animation management class, responsible for the management of symbol animation
Name Type Description
options Object optional Objects have the following properties:
Name Type Default Description
serverUrl String "" optional Animation service address
scene String null optional Current animation scene

Methods

staticSuperMap3D.GOAnimationManager.getInstance(options)GOAnimationManager

Get Animation Management Instance Object
Name Type Description
options Object optional Objects have the following properties:
Name Type Default Description
serverUrl String "" optional Animation service address
scene String null optional Current animation scene
Returns:
Animation Management Instance Object

createGOAnimation(animationType, name, goFeature, isRaiseEvent)GoAnimation

Create animation
Name Type Default Description
animationType SuperMap.Plot.GOAnimationType Animation type
name String Animation name
goFeature goFeature Original geometric object of the animation
isRaiseEvent Boolean true Whether to send an event
Returns:
Animation Object

execute()Boolean

Execute animation
Returns:
Is there any animation?

findGOAnimationByFeature(feature)Array.<GOAnimation>

Find animations based on plottingt object
Name Type Description
feature GeoGraphicObject plottingt object
Returns:
Animation Object

findGOAnimationByName(name)GoAnimation

Find an animation by its name
Name Type Description
name String Animation name
Returns:
Animation object

findGOAnimationsByUuid(uuid)Array.<GOAnimation>

Find animations by uuid
Name Type Description
uuid String Id of animation object
Returns:
Animation object

getAllAnimations()Array

Get all animations
Returns:
Animation arrary

openEvoFileOnServer(evoFileName)

Open animation file
Name Type Description
evoFileName Filename of animation script

removeAllGOAnimation()

Delete all animations.

removeGOAnimation(goAnimation, isRaiseEvent)boolean

Delete animation
Name Type Description
goAnimation GOAnimation Animation object
isRaiseEvent Boolean Whether to trigger an event
Returns:
Whether the deletion was successful

removeGOAnimationByFeature(feature)boolean

Delete animations based on plotting object
Name Type Description
feature GeoGraphicObject plotting object
Returns:
Whether the deletion was successful

removeGOAnimationByName(name)Boolean

Delete animations by name
Name Type Description
name String Animation name
Returns:
Whether the deletion was successful

saveEvoFile(evoFileName, isCover)

Save the animation as a JSON file and upload it to the server
Name Type Description
evoFileName File name be saved
isCover Whether to overwrite save