ionic-team / ionic-team/capacitor-google-maps
[google-maps] marker click is changing the camera on IOS and Android devices
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
## Bug Report
### Plugin(s)
```
"@capacitor/google-maps": "^5.3.3"
```
### Capacitor Version
```
Latest Dependencies:
@capacitor/cli: 5.6.0
@capacitor/core: 5.6.0
@capacitor/android: 5.6.0
@capacitor/ios: 5.6.0
Installed Dependencies:
@capacitor/cli: 5.0.4
@capacitor/core: 5.0.4
@capacitor/android: 5.0.4
@capacitor/ios: 5.0.4
```
### Platform(s)
IOS, Android
### Current Behavior
When a marker is clicked on the web, nothing will happen. But when the marker is clicked on an IOS or Android device, the camera of the google map changes. It will center the marker.
### Expected Behavior
No camera change should happen
### Code Reproduction
https://stackblitz.com/edit/angular-yz24zb-kffbvw?file=src%2Fapp%2Fexample.component.ts
1. add API KEY to componentn: `const apiKey = 'xxx';`
2. build app to IOS or android
3. run on real device
4. click on marker
### Other Technical Details
Reproduction code can be downloaded from stackblitz
Contributor guide
Assessment
This issue has not been assessed yet.