-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
Description
Bug Report
Plugin(s)
@capacitor/[email protected]
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);
});