Closed
Description
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
The advanced markers stay on the map even if they are removed. This can be seen in the dev-app google-maps example
Reproduction
Advanced marker elements require your own private mapId, I cannot create a StackBlitz to expose my key/map ids but the demo already app illustrates the issue.
StackBlitz link: 5a490cc
Steps to reproduce:
- add advanced markers to the map
- attempt to remove them
Expected Behavior
The advanced markers should not show up on the map if they are removed, just like the regular marker objects
Actual Behavior
The regular marker objects are removed but the advanced marker objects remain on the map.
Environment
- Angular: current main facd027
- CDK/Material:
- Browser(s): chrome
- Operating System (e.g. Windows, macOS, Ubuntu): ubuntu