Skip to content

Commit

Permalink
Merge pull request #1122 from longxi/patch-1
Browse files Browse the repository at this point in the history
returns animation control object from map.animateFeature method
  • Loading branch information
Viglino authored Jan 23, 2025
2 parents 00eae71 + 3f2d9df commit cd4c01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/featureanimation/FeatureAnimation.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ ol_Map.prototype.animateFeature = function(feature, fanim) {
ol_Observable_unByKey(listener);
}
});
layer.animateFeature(feature, fanim);
return layer.animateFeature(feature, fanim);
};

/** Animate feature on a vector layer
Expand Down

0 comments on commit cd4c01b

Please sign in to comment.