AnimationWay

Path Animation Class of Dynamic Plotting - Supports new play mode

new SuperMap3D.AnimationWay(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
showPath Boolean false optional Whether to display the path, the default is false
tangentDirection Boolean false optional Whether in the tangent direction, the default is false
pathWidth Number 0.5 optional Path line width, default is 0.5
pathColor Color Color.RED optional Path line color, the default is red
pathType WayPathType WayPathType.POLYLINE optional Path type, the default is WayPathType.POLYLINE
wayPoints Array [] optional Array of path points, default to []

Methods

getGOAnimationType()GOAnimationType

Get animation type
Returns:
Animation type