{"repo":"reyemb/streamlit-component-mapbox-events","free":true,"listed":false,"github":"https://github.com/reyemb/streamlit-component-mapbox-events","clone":"git clone https://github.com/reyemb/streamlit-component-mapbox-events.git","description":"Interactive Mapbox component for Streamlit with click, select, hover, and relayout events","language":"Python","stars":31,"topics":["component","data-visualization","frontend","mapbox","react","python","streamlit","plotly","streamlit-component","geospatial"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"Streamlit Plotly MapBox Events A Streamlit component that enables interactive event handling for Plotly mapbox scatter plots. Capture click, select, and hover events on map markers with ease. Overview This component extends Plotly's mapbox functionality in Streamlit by providing real-time event capture for interactive map visualizations. Perfect for building interactive dashboards with geographic data. Inspired by: Null Jones - Plotly Events Installation Quick Start API Reference plotly mapbox events() Parameters: Parameter Type Default Description ----------- ------ --------- ------------- plot fig plotly.graph objects.Figure Required Plotly mapbox figure to render click event bool True Enable click event capture select event bool False Enable selection event capture hover event bool False Enable hover event capture relayout event bool False DEPRECATED - No longer functional override height int 450 Component height in pixels override width str\\ int \"100%\" Component width key str\\ None None Unique component identifier Returns: A tuple containing four lists: (click events, select events, hover events, relayout events) Event Data Format Each event returns a list of dictionaries with the following structure: Event Types Click Events ( click event=True ) Triggered when a user clicks on a map marker. Returns data for the clicked point. Select Events ( select event=True ) Triggered when markers are selected (e.g., using box/lasso select tools). Returns data for all selected points.","default_branch":null,"files":null,"tree":[],"storefront":"/r/reyemb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/reyemb/streamlit-component-mapbox-events/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}