I am in expo 50 using react-native-maps version 1.13.0, so i am facing the same flickering issue explained here 4997 when rendering custom markers. When i set trackViewChanges={false} in the Marker it solves the issue and the map is also drastically more performant. For more information about my custom markers they render a jpg or png image inside of them and have like a custom badge that changes its label dynamically on top of them.
my concrete questions:
-
What does trackViewChanges exactly affect/do for a given Marker component?
-
When should it be definitely turned on and when off?
-
Would it not be better to just turn it off by default and and use the redraw() method each marker provides when the marker really needs to move/change or be re rendered? this is also stated in the docs for trackViewsChanges.
I hope anyone with more deeper understanding of how this all works can answer