Streamlit Map Sizing issue

I created a map in streamlit with the following command:

st_echarts(options=options, map = map, renderer = “svg”, key=0, width = “100%”)

I can make the map smaller but I want to make it bigger. If I used a pixel too large it shifts my map to right and cuts off part of it.

Any suggestions.

This my map setup:

with open(usaJson, “r”) as f:
map = Map(
“USA”,
json.loads(f.read()),
{
“Alaska”: {“left”: -131, “top”: 25, “width”: 15},
“Hawaii”: {“left”: -110, “top”: 28, “width”: 5},
“Puerto Rico”: {“left”: -76, “top”: 26, “width”: 2},
},
)

Thanks in Advance

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.