googlemaps / googlemaps/js-samples

Stop symbol animation at the end of polyline

Open
#1,291 1 comment 0 reactions 1 assignee Claimed by @wangela View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.