general question about how to avoid flickering icons when using a pydeck iconlayer together with streamlit:
i use streamlit to change values with an slider widget. depending on this value, i get a line from a pandas dataframe. The values of this line are then drawn using a pydeck column layer on a 3d map. everything works fine.
Now my problem: i decorate the 3d map with an additional pdeck icon layer, to have some static icons rendered at their correct geolocations. this also works fine.
The problem is that as soon as i move the slider widget, the icons get re-drawn and flicker visibly.
While the slider widgets influences the data to draw the pydeck columns layer, the pydeck icon layer is independent of the slider widget, but it still flickers and is redrawn. (i also have a text layer but he does not flicker).
I use streamlits st.cache_resource to computer the pydeck.Deck command. the pdeck.Deck command consists of several layers (icon_layer, text_layer, column_layer.) is there a way to avoid flickering icons at the pydeck iconlayer when updating streamlit ?