onfarmview commited on
Commit
0bd39ac
·
1 Parent(s): 01f7b5f

first time

Browse files
pages/1_🪟_Split_Map.py DELETED
@@ -1,30 +0,0 @@
1
- import streamlit as st
2
- import leafmap.foliumap as leafmap
3
-
4
- st.set_page_config(layout="wide")
5
-
6
- # st.sidebar.info(
7
- # """
8
- # - Web App URL: <https://streamlit.gishub.org>
9
- # - GitHub repository: <https://github.com/giswqs/streamlit-geospatial>
10
- # """
11
- # )
12
-
13
- # st.sidebar.title("Contact")
14
- # st.sidebar.info(
15
- # """
16
- # Qiusheng Wu at [wetlands.io](https://wetlands.io) | [GitHub](https://github.com/giswqs) | [Twitter](https://twitter.com/giswqs) | [YouTube](https://www.youtube.com/c/QiushengWu) | [LinkedIn](https://www.linkedin.com/in/qiushengwu)
17
- # """
18
- # )
19
-
20
- st.title("Split-panel Map")
21
-
22
- with st.expander("See source code"):
23
- with st.echo():
24
- m = leafmap.Map()
25
- m.split_map(
26
- left_layer='ESA WorldCover 2020 S2 FCC', right_layer='ESA WorldCover 2020'
27
- )
28
- m.add_legend(title='ESA Land Cover', builtin_legend='ESA_WorldCover')
29
-
30
- m.to_streamlit(height=700)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pages/3_🪟_Split_Map.py CHANGED
@@ -3,24 +3,8 @@ import leafmap.foliumap as leafmap
3
 
4
  st.set_page_config(layout="wide")
5
 
6
- # st.sidebar.info(
7
- # """
8
- # - Web App URL: <https://streamlit.gishub.org>
9
- # - GitHub repository: <https://github.com/giswqs/streamlit-geospatial>
10
- # """
11
- # )
12
-
13
- # st.sidebar.title("Contact")
14
- # st.sidebar.info(
15
- # """
16
- # Qiusheng Wu at [wetlands.io](https://wetlands.io) | [GitHub](https://github.com/giswqs) | [Twitter](https://twitter.com/giswqs) | [YouTube](https://www.youtube.com/c/QiushengWu) | [LinkedIn](https://www.linkedin.com/in/qiushengwu)
17
- # """
18
- # )
19
-
20
  st.title("Split-panel Map")
21
 
22
- # with st.expander("See source code"):
23
- # with st.echo():
24
  m = leafmap.Map()
25
  m.split_map(
26
  left_layer='ESA WorldCover 2020 S2 FCC', right_layer='ESA WorldCover 2020'
 
3
 
4
  st.set_page_config(layout="wide")
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  st.title("Split-panel Map")
7
 
 
 
8
  m = leafmap.Map()
9
  m.split_map(
10
  left_layer='ESA WorldCover 2020 S2 FCC', right_layer='ESA WorldCover 2020'