new featureAnimation(options)
Feature animation base class Use the _ol_Map_#animateFeature or _ol_layer_Vector_#animateFeature to animate a feature on postcompose in a map or a layer
Parameters:
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ol.featureAnimationOptions |
Properties
|
Fires:
- (event:animationstart|animationend)
Classes
Methods
-
animate(e)
-
Function to perform manipulations onpostcompose. This function is called with an ol.featureAnimationEvent argument. The function will be overridden by the child implementation.
Return true to keep this function for the next frame, false to remove it.Parameters:
Name Type Description e
ol.featureAnimationEvent Returns:
true to continue animation.
- Type
- bool