import streamlit as st import leafmap.foliumap as leafmap st.set_page_config(layout="wide") # st.title("Split-panel Map") m = leafmap.Map() m.split_map( left_layer='ESA WorldCover 2020 S2 FCC', right_layer='ESA WorldCover 2020' ) m.add_legend(title='ESA Land Cover', builtin_legend='ESA_WorldCover') m.to_streamlit(height=700)