File size: 483 Bytes
1dcb006
 
 
 
 
 
 
08a5a2b
1dcb006
 
 
 
 
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("3D ESA LandCover MapLibre By Saad Frh")

m = leafmap.Map(center=[-7.942445468869124, 32.228985468754104], zoom=5, pitch=60, bearing=30, style="3d-terrain")
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)