You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SymbolManager has a feature of keeping annotations alive across style changes. The issue here is, that when the style changes, you're not re-adding the icon image of the marker, so the manager doesn't have a resource to reference anymore.
adding an image is a separate entry point to the style object and exposing a duplicate method on the manager's side just to track additions would cause confusion imo. But maybe we could rethink that as an options parameter?
If we'd like to move forward on this, another option would be exposing an interceptor of the Style object that would fire callbacks when an element is added.
Follow up from mapbox/mapbox-navigation-android#1779 (comment)
Cutting this ticket to discuss if it'd make sense and implementation details.
cc @LukasPaczos @danesfeder
The text was updated successfully, but these errors were encountered: