Spaces:
Running
Running
testing
Browse files
app.py
CHANGED
@@ -81,6 +81,8 @@ st.set_page_config(layout="wide", page_title="Protected Areas Explorer", page_ic
|
|
81 |
|
82 |
|
83 |
# +
|
|
|
|
|
84 |
m = leafmap.Map(center=[35, -100], zoom=4)
|
85 |
SURFACE_IMAGE ="https://huggingface.co/spaces/boettiger-lab/protected-areas/resolve/main/mobi/{z}/{x}/{y}.png"
|
86 |
m.add_basemap("CartoDB.DarkMatter")
|
@@ -94,7 +96,7 @@ m.add_pmtiles(
|
|
94 |
tribal, name="Protected Areas", style=style, overlay=True, show=True, zoom_to_layer=False
|
95 |
)
|
96 |
|
97 |
-
|
98 |
|
99 |
|
100 |
# +
|
@@ -114,4 +116,4 @@ m.add_pmtiles(
|
|
114 |
tribal, name="PMTiles", style=style, overlay=True, show=True, zoom_to_layer=False
|
115 |
)
|
116 |
|
117 |
-
|
|
|
81 |
|
82 |
|
83 |
# +
|
84 |
+
|
85 |
+
|
86 |
m = leafmap.Map(center=[35, -100], zoom=4)
|
87 |
SURFACE_IMAGE ="https://huggingface.co/spaces/boettiger-lab/protected-areas/resolve/main/mobi/{z}/{x}/{y}.png"
|
88 |
m.add_basemap("CartoDB.DarkMatter")
|
|
|
96 |
tribal, name="Protected Areas", style=style, overlay=True, show=True, zoom_to_layer=False
|
97 |
)
|
98 |
|
99 |
+
m.to_streamlit()
|
100 |
|
101 |
|
102 |
# +
|
|
|
116 |
tribal, name="PMTiles", style=style, overlay=True, show=True, zoom_to_layer=False
|
117 |
)
|
118 |
|
119 |
+
m.to_streamlit()
|