Open tukez opened 1 year ago
This warning logging is caused by the annotation manager's source, it does not update the style delegate when a new style is loaded.
Workaround for this is to remove and recreate the annotation manager and all its annotations when the style changes.
If you use clustering, do not pass clustering options when recreating the manager. Associated bug: https://github.com/mapbox/mapbox-maps-android/issues/2209
Environment
Observed behavior and steps to reproduce
I am animating point annotations (using PointAnnotationManager), but after I load a new style the log gets spammed with
Expected behavior
No log spam.
Notes / preliminary analysis
The animations are constantly moving the annotations on the map. I use Android's ValueAnimator which calls
I am not calling setStyleGeoJSONSourceData anywhere by myself.
As soon as I stop the animations, the log spam stops.
If I never load a new style, there is no log spam.