Class: Path

Path

Path animation: feature follow a path


new Path(options)

Parameters:
Name Type Description
options ol.featureAnimationPathOptions

extend ol.featureAnimation options

Properties
Name Type Description
speed Number

speed of the feature, if 0 the duration parameter will be used instead, default 0

rotate Number | boolean

rotate the symbol when following the path, true or the initial rotation, default false

path ol.geom.LineString | ol.Feature

the path to follow

duration Number

duration of the animation in ms

Extends

Methods


animate(e)

Animate

Parameters:
Name Type Description
e ol.featureAnimationEvent
Overrides: