Skip to content

setOnPolylineClickListener does not work in Android and iOS #56

@brune83

Description

@brune83

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions