Skip to content

[google-maps]: Error on destroying marker-clusterer #23050

Closed
@piernik

Description

@piernik

Reproduction

I tried to reproduce but there seems to be issue with loading google maps:
https://stackblitz.com/edit/components-issue-google-maps?file=src/app/example-component.ts

Expected Behavior

On exiting from current page there should be no error

Actual Behavior

Navigating away from page with marker clusterer throws error:
Error: Uncaught (in promise): TypeError: b.g.remove is not a function

Environment

  • Angular: 12
  • CDK/Material/Google Maps: 12.0.5
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: google-mapsneeds: clarificationThe issue does not contain enough information for the team to determine if it is a real bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions