Update app.py
Browse files
app.py
CHANGED
|
@@ -1481,18 +1481,11 @@ def locator_page():
|
|
| 1481 |
except Exception:
|
| 1482 |
pass
|
| 1483 |
|
| 1484 |
-
#
|
| 1485 |
-
#
|
| 1486 |
-
#
|
| 1487 |
-
|
| 1488 |
-
|
| 1489 |
-
# draw_polyline=False,
|
| 1490 |
-
# draw_marker=False
|
| 1491 |
-
#)
|
| 1492 |
-
#m.add_control(draw_control)
|
| 1493 |
-
#m.to_streamlit(height=700, responsive=True)
|
| 1494 |
-
# st.markdown("👉 Draw a polygon/rectangle on the map (draw tool). After drawing click **Compute Summaries**.")
|
| 1495 |
-
|
| 1496 |
# Button to compute summaries (we'll fetch ROI from map object)
|
| 1497 |
if "compute_button" not in st.session_state:
|
| 1498 |
st.session_state["compute_button"] = False
|
|
|
|
| 1481 |
except Exception:
|
| 1482 |
pass
|
| 1483 |
|
| 1484 |
+
# ----------------------------
|
| 1485 |
+
# Show map with drawing tools
|
| 1486 |
+
# ----------------------------
|
| 1487 |
+
st.markdown("👉 Draw a polygon/rectangle on the map (use draw tool). After drawing, click **Compute Summaries**.")
|
| 1488 |
+
m.to_streamlit(height=700, responsive=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1489 |
# Button to compute summaries (we'll fetch ROI from map object)
|
| 1490 |
if "compute_button" not in st.session_state:
|
| 1491 |
st.session_state["compute_button"] = False
|