Hi I am trying to plot F1 Circuit Locations into a map on Streamlit using Folium. I have it working on a local installation of Streamlit. The challenge comes when I move things to Streamlit Cloud. Instead of the map on the local installation, it shows a black bar?
Include a minimal, reproducible code example in your question. In other words, include just enough code (not the whole app ) to enable others to reproduce the problem. Check out StackOverflow’s guide to creating a minimal, complete, and verifiable example. Ensure that your example works by running it yourself before posting.
If you are getting the right data from snowflake, you should be able to reproduce the problem without a snowflake connection, using hardcoded data or a data file that you can share. I tried to reproduce your issue when you posted it for the first time but the snowflake connection was a showstopper because I couldn’t get the data.
If the data coming from snowflake is not what you expect, then probably you don’t even need a streamlit application to reproduce it and you would have better chances in a snowflake-specific site.
Hi @daanalytics, can you try upgrading the version of streamlit-folium you are using to the latest release? You’ll need to change it in requirements.txt and upload that new version to the cloud to see it reflected there. If it still doesn’t work, could you post an issue on the streamlit folium github issues and I’ll take a look at it?
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.