angular / components

Component infrastructure and Material Design components for Angular

Home Page:https://material.angular.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat(google-maps): Dynamic update support for advanced marker options

gooneraki opened this issue · comments

Feature Description

Currently, when advanced marker options (such as icons or labels) are dynamically updated in the map-advanced-marker component of the Angular Google Maps package, these changes are not reflected on the map. This issue occurs despite the component being properly bound to the updated options. This behavior limits dynamic interaction capabilities, such as updating marker styles in real-time based on user interactions or data changes.

Use Case

This feature would allow developers to dynamically change the properties of markers on a map based on real-time data or user interactions. For example, changing the color or icon of a marker to reflect it's status (e.g., available, busy, or inactive) without needing to remove and re-add the marker to the map. This can be particularly useful in applications like live tracking systems, where the state of an object can change frequently.

No worries. My issue was angular and the for loop which I was tracking an id which never changed. I also tracked the marker options and it worked fine

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.