{ map.getView().setCenter(e.geom.getCoordinates()) map.getView().setRotation(e.rotation||0) }) /**/ vector.animateFeature ( f, anim ); } } for (var i=0; i"> { map.getView().setCenter(e.geom.getCoordinates()) map.getView().setRotation(e.rotation||0) }) /**/ vector.animateFeature ( f, anim ); } } for (var i=0; i"/>
ol-ext: Openlayers feature animation

ol-ext: Openlayers feature animation

This example show how to use ol.featureAnimation.Path to animate a feature along a path.
Use the rotate option to make the symbols rotate along the path.

Options:

  • Easing:
  • speed: