AnimationGrow

Growth animation (supports setting the scale when it appears)

new SuperMap3D.AnimationGrow(options)

Name Type Description
options Object optional Objects have the following properties:
Name Type Default Description
startTime Number 0 optional Animation start time,in seconds
duration Number 0 optional Animation duration,in seconds
name String "" optional Animation name, the unique identifier of the animation
repeat Boolean false optional Whether to repeat the loop play, the default is false.
startScale Number 0.0 optional Start scale, default is 0.0
endSclae Number 1.0 optional End scale, default is 1.0

Methods

getGOAnimationType()GOAnimationType

Get animation type
Returns:
Animation type

getGOAnimationType()GOAnimationType

Get animation type
Returns:
Animation type
Retreat animation (supports setting the proportion when disappearing)

new SuperMap3D.AnimationReduce(options)

Name Type Description
options Object optional Objects have the following properties:
Name Type Default Description
startTime Number 0 optional Animation start time,in seconds
duration Number 0 optional Animation duration,in seconds
name String "" optional Animation name, the unique identifier of the animation
repeat Boolean false optional Whether to repeat the loop play, the default is false
startScale Number 1.0 optional Start scale, default is 1.0
endSclae Number 0.0 optional End scale, default is 0.0

Methods

getGOAnimationType()GOAnimationType

Get animation type
Returns:
Animation type

getGOAnimationType()GOAnimationType

Get animation type
Returns:
Animation type