-
-
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
-
-
Execution animation
Returns:
Is there an animation?
-
findGOAnimationByFeature(feature) → Array.<GOAnimation>
-
Find animations based on plotted objects
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 all animations
-
-
Play all animations
-
-
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
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 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 playing all animations