-
-
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 animation
Returns:
Is there any animation?
-
findGOAnimationByFeature(feature) → Array.<GOAnimation>
-
Find animations based on plottingt object
Returns:
Animation Object
-
-
Find an animation by its name
Name |
Type |
Description |
name |
String
|
Animation name
|
Returns:
Animation object
-
-
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
|
-
-
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
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
|