ESA_LandCover / app.py
saadfrh's picture
Update app.py
bb02fe7 verified
raw
history blame
391 Bytes
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=700)