ionic-team / ionic-team/capacitor-google-maps
[@capacitor/google-maps] Add ability to update & animate marker coordinate
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
## Feature Request
### Plugin
@capacitor/google-maps
### Description
Add ability to animate markers on map.
I would love to have a way to animate markers on map from point A to B with smooth animation.
For example in a taxi app, customer is tracking location of a driver who is comming to pick him up. It would be great to have the taxi marker animate as he's moving (updating his GPS) instead of essentially removing the previous marker with previous location and adding new marker with new location.
### Platform(s)
Android
iOS
### Preferred Solution
Add new method **animateMarker** / **animateMarkers** with **coordinate**, **animationDuration** & **animationStyle** (ease-in, linear etc.) arguments
### Alternatives
Add new method **updateMarker** / **updateMarkers** with **coordinate** argument (ideally you could update more than coordinate, for example opacity, size, iconUrl and other properties so you don't have to remove previous marker and add a new one if you want to update it)
Contributor guide
Assessment
This issue has not been assessed yet.