Resizing Folium Map Leaves Blank Space


New to Streamlit. I have a folium map that I would like to display at a smaller height/width, but I am left with this large blank space. Is there a way around this or is it best to switch to a different mapping library?

Many thanks.

Hi @Travis, Welcome to the community!

Looking at the streamlit-folium source code, I think you need to set the width. The streamlit-folium components returns static html and doesn’t automatically scale.

Thank you, just what I needed.

1 Like