Closed
Description
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