googlemaps / googlemaps/js-samples
Stop symbol animation at the end of polyline
Open
- Dominant language
- TypeScript
- Stars
- 805
- Forks
- 836
- PR merge metrics
- No merged PRs in 30d
Description
Currently animation symbol overlay animates for infinite time in given polyline.
[Link to page](https://developers.google.com/maps/documentation/javascript/examples/overlay-symbol-animate)
Solution/Suggestion :
Maybe we could add 2 buttons at top `start animation` and `stop animation`. Such that if we want to stop animating symbol at the end of polyline we can click on stop animation
Buttons could look like: [drop marker button](https://developers.google.com/maps/documentation/javascript/examples/marker-animations-iteration)
Contributor guide
Assessment
This issue has not been assessed yet.