ionic-team / ionic-team/capacitor-google-maps
setOnMyLocationClickListener listener does not trigger in iOS
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
## Bug Report
### Plugin(s)
@capacitor/google-maps@5.4.1
### Capacitor Version
```
Latest Dependencies:
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2
Installed Dependencies:
@capacitor/cli: 5.7.8
@capacitor/core: 5.7.8
@capacitor/android: 5.7.8
@capacitor/ios: 5.7.8
```
### Platform(s)
iOS only
### Current Behavior
The listener does not trigger when clicking the my location blue dot.
Console logs do not print.
Does not trigger in iOS.
Works as expected in Android and web.
### Expected Behavior
When the my location blue dot is clicked to execute the listener code.
### Code Reproduction
console.log('Setting up setOnMyLocationClickListener listener');
await this.newMap.setOnMyLocationClickListener(async (event: any) => {
console.log('My Location clicked at:', event);
// Update marker location
await this.updateMarkerLocation(event.latitude, event.longitude);
});
### Other Technical Details
### Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.