Hello everyone!
I’m trying to display a map inside a collapsable element, so it can be show/hidden at any point. The problem i’m facing is that when the map is in the expander it has a small size and dots corresponding to latitude and longitude are not displayed.
Here you can find a minimal code to reproduce the issue, if the expander line is commented everything works fine
import streamlit as st
import pandas as pd
d = {"lat": [40.781243], "lon":[-73.968432]}
df = pd.DataFrame.from_dict(d)
with st.expander("map"):
st.map(df, size=2)
Is this a known issue? Are there ways to fix it? Thanks!