home / pages /3_πŸͺŸ_Split_Map.py
onfarmview
first time
9209524
raw
history blame contribute delete
335 Bytes
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)