llama-openai-demo / data /kb /FAQ /pydeck-chart-custom-mapbox-styles.md
eagle0504's picture
app updated
746d2f1

A newer version of the Streamlit SDK is available: 1.48.1

Upgrade
metadata
title: How can I make st.pydeck_chart use custom Mapbox styles?
slug: /knowledge-base/using-streamlit/pydeck-chart-custom-mapbox-styles

How can I make st.pydeck_chart use custom Mapbox styles?

If you are supplying a Mapbox token, but the resulting pydeck_chart doesn't show your custom Mapbox styles, please check that you are adding the Mapbox token to the Streamlit config.toml configuration file. Streamlit DOES NOT read Mapbox tokens from inside of a PyDeck specification (i.e. from inside of the Streamlit app). Please see this forum thread for more information.