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

setOnPolylineClickListener does not work in Android and iOS

Open
#56 1 comment 0 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

### Plugin(s)
capacitor-google-maps 6.0.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: 6.1.2
@capacitor/ios: 6.1.2
@capacitor/android: 6.1.2
@capacitor/core: 6.1.2
```

### Platform(s)
Android and iOS

### Current Behavior

I set the listener setOnPolylineClickListener in my map. In a WEB environment, when I click on a polyline the event is captured by the listener. In Android and iOS environment, when I click on a polyline nothing happens.

### Expected Behavior

I expect the listener works in Android and iOS too.

### Code Reproduction

`
this.map.setOnPolylineClickListener((cbData) => {
// in Android and iOS it never arrives here
});
`

### Other Technical Details

### Additional Context

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.