Display interactive land cover map
Find answers about an image using a chatbot
Select and visualize language family trees
Media understanding
Ask questions about images to get answers
Convert screenshots to HTML code
Ask questions about images of documents
Display a loading spinner and prepare space
Generate insights from charts using text prompts
Generate architectural network visualizations
finetuned florence2 model on VQA V2 dataset
demo of batch processing with moondream
Display a gradient animation on a webpage
Streamlit Maplibre is a Streamlit component designed for displaying interactive land cover maps. It leverages the capabilities of Maplibre GL JS to bring dynamic and customizable mapping features directly into Streamlit applications. This tool is particularly useful for visualizing geospatial data, allowing users to interact with maps in real time.
• Interactive Mapping: Create and display customizable interactive maps with markers, polygons, and other overlays.
• Lightweight: Built to be efficient and fast, ensuring smooth performance in Streamlit apps.
• Customizable: Easily tailor map styles, markers, and other elements to fit your needs.
• Integration with Streamlit: Seamlessly integrate maps into Streamlit workflows for a unified user experience.
• Real-Time Interaction: Supports zooming, panning, and clicking for an engaging user experience.
pip install streamlit-maplibre
to install the package.import streamlit_maplibre as st_map
to your Streamlit script.st_map.map()
to create a basic map.streamlit run your_script.py
.What is the purpose of Streamlit Maplibre?
Streamlit Maplibre is designed to enhance Streamlit applications with interactive mapping capabilities, making it easier to visualize and explore geospatial data.
How do I customize the map style?
You can customize the map style by passing CSS or JSON styles to the map()
function. For example, st_map.map(style="mapbox://styles/mapbox/streets-v12")
.
Is Streamlit Maplibre compatible with all Streamlit versions?
Streamlit Maplibre is compatible with most modern versions of Streamlit. Ensure you have the latest version installed for optimal performance.