Skip to content

Google maps warns about using click instead of gmp-click event. #611

Closed
@coder6652

Description

@coder6652

This is the error in the browser console from google maps.

    addListener(a, b) {
        "click" === a && console.warn(`<${this.localName}>: ${"Please use addEventListener('gmp-click', ...) instead of addListener('click', ...)."}`);
        return _.K(this, a, b)
    }

I
I am not getting this error when not using the marker clusterer.

Metadata

Metadata

Assignees

Labels

triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions