Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Undefined in _clearListener in google-map-marker #407

Description

@Oupsla

When there are multiple google-map with markers on different pages an error is thrown when showing the second map.

Uncaught TypeError: Cannot read property 'click' of undefined at HTMLElement._clearListener (google-map-marker.html:461)

Just need to test if '_listeners' is defined before tring to clear it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions