ionic-team / ionic-team/capacitor-google-maps
bug: animate property of setCamera function is not working
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
## Bug Report
### Capacitor Version
Latest Dependencies:
@capacitor/cli: 4.6.1
@capacitor/core: 4.6.1
@capacitor/android: 4.6.1
@capacitor/ios: 4.6.1
Installed Dependencies:
@capacitor/cli: 3.1.1
@capacitor/core: 3.1.1
@capacitor/ios: 3.1.1
@capacitor/android: 3.1.1
### Platform(s)
Ionic + Angular
### Current Behavior
Upon calling setCamera function to move to different coordinate no animation can be seen even though animate property is set to true. It just moves/loads abruptly to that particular frame.
### Expected Behavior
There should be an animation when setCamera is called to move to a given coordinate point.
### Code Reproduction
```
this.map.setCamera({
...cameraConfig,
zoom: this.currentZoom,
animate: true,
animationDuration: 500,
});
```
Contributor guide
Assessment
This issue has not been assessed yet.