Skip to main content

A Streamlit component that integrates Plotly's interactive Mapbox visualizations, enabling bidirectional communication between the map and Streamlit. It allows for seamless rendering of Mapbox plots within Streamlit applications while supporting event handling, such as click, select, hover, and relayout events, to facilitate dynamic interactions and data updates.

Project description

The Plotly Mapbox component for Streamlit is a powerful tool that brings the rich functionality of Plotly's Mapbox visualizations to Streamlit applications. It provides a seamless integration between Plotly's interactive Mapbox plots and Streamlit's intuitive app development framework. With this component, you can effortlessly render Mapbox visualizations within your Streamlit app, enabling users to explore and interact with geospatial data in a highly engaging manner.


One of the key features of this component is its ability to handle various events triggered by user interactions with the Mapbox plot. It supports click, select, hover, and relayout events, allowing you to capture and respond to user actions in real-time. When an event occurs, such as clicking on a marker or selecting a region, the component communicates the event data back to Streamlit, enabling you to update other elements of your app or perform further data analysis based on the user's interactions.

The component offers flexibility in customizing the appearance and behavior of the Mapbox plot. You can easily control the plot's height, width, and initial zoom level to suit your app's layout and requirements. Additionally, you can enable or disable specific event types depending on your use case, giving you fine-grained control over the interactivity of the plot.

By leveraging the power of Plotly's Mapbox visualizations and the simplicity of Streamlit's app development framework, this component empowers you to create stunning and interactive geospatial applications with ease. Whether you're building dashboards, data exploration tools, or location-based services, the Plotly Mapbox component for Streamlit provides a seamless and efficient way to integrate interactive maps into your Streamlit apps, enhancing the user experience and facilitating data-driven decision-making.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page