ionic-team / ionic-team/capacitor-google-maps

bug: animate property of setCamera function is not working

Open
#107 2 comments 2 reactions 0 assignees View on GitHub
triage
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

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.