Zeel commited on
Commit
28cc41d
1 Parent(s): d9b225b
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -555,15 +555,14 @@ if "result" in st.session_state:
555
  unsafe_allow_html=True,
556
  )
557
  cols = st.columns(2)
558
- dem_map, slope_map = get_dem_slope_maps(
559
- ee.Geometry(geometry_gdf.to_crs(4326).geometry.item().__geo_interface__)
560
- )
561
  for col, param_map, title in zip(cols, [dem_map, slope_map], ["DEM Map", "Slope Map"]):
562
  with col:
563
  param_map.add_gdf(
564
- geometry_gdf,
565
- layer_name="Geometry",
566
- style_function=lambda x: {"color": "blue", "fillOpacity": opacity, "fillColor": "blue"},)
 
567
  write_info(
568
  f"""
569
  <div style="text-align: center;">
 
555
  unsafe_allow_html=True,
556
  )
557
  cols = st.columns(2)
558
+ dem_map, slope_map = get_dem_slope_maps(ee.Geometry(geometry_gdf.to_crs(4326).geometry.item().__geo_interface__))
 
 
559
  for col, param_map, title in zip(cols, [dem_map, slope_map], ["DEM Map", "Slope Map"]):
560
  with col:
561
  param_map.add_gdf(
562
+ geometry_gdf,
563
+ layer_name="Geometry",
564
+ style_function=lambda x: {"color": "blue", "fillOpacity": 0.0, "fillColor": "blue"},
565
+ )
566
  write_info(
567
  f"""
568
  <div style="text-align: center;">