import leafmap.maplibregl as leafmap import streamlit as st import numpy as np st.set_page_config(layout="wide") st.title("Leafmap MapLibre Demo") m = leafmap.Map() m.add_basemap("Satellite") m.add_ee_layer(asset_id="ESA/WorldCover/v200", opacity=1) m.add_legend(builtin_legend="ESA_WorldCover", title="ESA Landcover") m.add_layer_control() m.to_streamlit(height=750)