# Streamlit Map Sizing issue

**URL:** <https://discuss.streamlit.io/t/streamlit-map-sizing-issue/25950>\
**Category:** Using Streamlit\
**Created:** [June 1, 2022, 6:31pm UTC](https://discuss.streamlit.io/t/streamlit-map-sizing-issue/25950 "2022-06-01T18:31:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dennisyd](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dennisyd](https://discuss.streamlit.io/u/dennisyd)\
**Post date:** [June 1, 2022, 6:31pm UTC](https://discuss.streamlit.io/t/streamlit-map-sizing-issue/25950/1 "2022-06-01T18:31:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [June 1, 2023, 6:31pm UTC](https://discuss.streamlit.io/t/streamlit-map-sizing-issue/25950/2 "2023-06-01T18:31:13Z")

</div>

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