File size: 391 Bytes
50ce670
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import leafmap.maplibregl as leafmap
import streamlit as st
import numpy as np

st.set_page_config(layout="wide")
st.title("ESA LandCover Leafmap MapLibre By Saad Frh")

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)