Skip to content

bug(google-maps): google.maps.event.addDomListener() is deprecated #25255

Closed
@rbalet

Description

@rbalet

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Using the google-maps component, I get the following warning

js?key=AIzaSyAIaEtUO9A0jP2wlE4wIi3t7Dl4z6xwMP4:261 google.maps.event.addDomListener() is deprecated, use the standard addEventListener() method instead

This isn't a bad issue, but it the log is displayed around 100 time in the google console, which make debugging quite impossible.

Reproduction

Steps to reproduce:

  1. Use: `"@angular/google-maps": "14.0.4"

Expected Behavior

No warnings

Actual Behavior

image

Environment

  • Angular: v14.0.4
  • CDK/Material: v14.0.4
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions