Skip to main content

AnimateDirectionUtil

geovisto-mapReadme | API


geovisto-map / AnimateDirectionUtil

Class: AnimateDirectionUtil

Help class which provide animating of direction in connections.

Author

Krystof Rykala

Author

Jiri Hynek - converted to Typescript and moved to util class

Constructors

new AnimateDirectionUtil()

new AnimateDirectionUtil(tool): AnimateDirectionUtil

Parameters

tool: IConnectionLayerTool\<IConnectionLayerToolProps, IConnectionLayerToolDefaults, IConnectionLayerToolState\<IConnectionLayerToolProps, IConnectionLayerToolDefaults, IConnectionLayerToolConfig, object, object>, IConnectionLayerToolConfig, IMapToolInitProps\<IConnectionLayerToolConfig>>

Returns

AnimateDirectionUtil

Source

tools/layers/connection/model/internal/util/AnimateDirectionUtil.ts:19

Properties

animationInterval

private animationInterval: any

Source

tools/layers/connection/model/internal/util/AnimateDirectionUtil.ts:17


tool

private tool: IConnectionLayerTool\<IConnectionLayerToolProps, IConnectionLayerToolDefaults, IConnectionLayerToolState\<IConnectionLayerToolProps, IConnectionLayerToolDefaults, IConnectionLayerToolConfig, object, object>, IConnectionLayerToolConfig, IMapToolInitProps\<IConnectionLayerToolConfig>>

Source

tools/layers/connection/model/internal/util/AnimateDirectionUtil.ts:16

Methods

animateDirection()

animateDirection(animate): void

It changes the styles of connection (enables/disables animation).

Parameters

animate: boolean

Returns

void

Source

tools/layers/connection/model/internal/util/AnimateDirectionUtil.ts:28