Class: Path

ol.featureAnimation. Path


new Path(options)

Path animation: feature follow a path

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

Extends

Methods


animate(e)

Animate

Parameters:
Name Type Description
e ol.featureAnimationEvent
Overrides: