Spaces:
Build error
Build error
pjgerrits
commited on
Commit
·
afca6e0
1
Parent(s):
b761ce2
change map size
Browse files
app.py
CHANGED
|
@@ -119,7 +119,7 @@ map_placeholder = st.empty()
|
|
| 119 |
|
| 120 |
with map_placeholder.container():
|
| 121 |
folium_map = create_map(st.session_state['points'], center=st.session_state['map_center'], zoom=st.session_state['map_zoom'])
|
| 122 |
-
map_output = st_folium(folium_map, width="100%", height=
|
| 123 |
|
| 124 |
new_coords = None
|
| 125 |
if map_output and 'last_clicked' in map_output and map_output['last_clicked'] is not None:
|
|
@@ -133,7 +133,7 @@ if new_coords:
|
|
| 133 |
map_placeholder.empty()
|
| 134 |
with map_placeholder.container():
|
| 135 |
folium_map = create_map(st.session_state['points'], center=st.session_state['map_center'], zoom=st.session_state['map_zoom'])
|
| 136 |
-
st_folium(folium_map, width="100%", height=
|
| 137 |
|
| 138 |
if all(st.session_state['points'].values()) and not st.session_state['survey']:
|
| 139 |
if st.sidebar.button("Proceed to Survey"):
|
|
|
|
| 119 |
|
| 120 |
with map_placeholder.container():
|
| 121 |
folium_map = create_map(st.session_state['points'], center=st.session_state['map_center'], zoom=st.session_state['map_zoom'])
|
| 122 |
+
map_output = st_folium(folium_map, width="100%", height=800)
|
| 123 |
|
| 124 |
new_coords = None
|
| 125 |
if map_output and 'last_clicked' in map_output and map_output['last_clicked'] is not None:
|
|
|
|
| 133 |
map_placeholder.empty()
|
| 134 |
with map_placeholder.container():
|
| 135 |
folium_map = create_map(st.session_state['points'], center=st.session_state['map_center'], zoom=st.session_state['map_zoom'])
|
| 136 |
+
st_folium(folium_map, width="100%", height=800)
|
| 137 |
|
| 138 |
if all(st.session_state['points'].values()) and not st.session_state['survey']:
|
| 139 |
if st.sidebar.button("Proceed to Survey"):
|