Spaces:
Sleeping
Sleeping
File size: 432 Bytes
dc5de08 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import streamlit as st
import leafmap.foliumap as leafmap
st.set_page_config(layout="wide")
st.title("Split-panel Map")
with st.expander("See source code"):
with st.echo():
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)
|