File size: 335 Bytes
01f7b5f
 
 
 
 
9209524
01f7b5f
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)