L.supermap.plotting.GOAnimation()
leaflet/animation/GOAnimation.js, line 6
Members
-
durationDouble
-
动画时长,单位为秒。
-
namestring
-
动画名称,动画的唯一标识。
-
repeatboolean
-
是否重复循环播放,默认为false。
-
startTimeDouble
-
动画开始时间,单位为秒。
Methods
-
destroy()
leaflet/animation/GOAnimation.js, line 97 -
销毁对象,释放资源。
-
getGOFeature(){L.supermap.plotting.GraphicObject}
leaflet/animation/GOAnimation.js, line 169 -
获取动画的原始几何对象。
Returns:
Type Description L.supermap.plotting.GraphicObject 动画原始几何对象。 -
pause()
leaflet/animation/GOAnimation.js, line 210 -
暂停。
-
play()
leaflet/animation/GOAnimation.js, line 178 -
播放。
-
reset()
leaflet/animation/GOAnimation.js, line 220 -
复位。
-
stop()
leaflet/animation/GOAnimation.js, line 202 -
停止。