Skip to content

Add height parameter to st.map #6410

@pedroalencar1

Description

@pedroalencar1

Problem

First of all, great work. This, I think, is no big deal, but it is not possible to control the dimensions of my map. The width is easy to work around, but not the height.

Solution

Add an argument for the height :)

st.map(df, zoom = 4.5, height = 500, unit = "px")

Cheers,

Pedro


Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.

If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:st.mapRelated to the `st.map` elementstatus:likelyWill probably implement but no timeline yettype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions