UjjwalKGupta commited on
Commit
69d5361
1 Parent(s): 577fc3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def get_dem_slope_maps(buffer_ee_geometry):
157
  vis_params = {"min": min_value, "max": max_value, "palette": ["blue", "green", "yellow", "red"]}
158
  dem_map.addLayer(contours, vis_params, "Contours")
159
  # Create a colormap
160
- colormap = cm.LinearColormap(colors=vis_params["palette"], vmin=vis_params["min"], vmax=vis_params["max"])
161
  #dem_map.add_child(colormap)
162
  #dem_map.add_colormap(width=4,vmin=min_value, vmax=max_value, palette=vis_params['palette'],
163
  # vis_params=vis_params, label='Elevation(m)',
 
157
  vis_params = {"min": min_value, "max": max_value, "palette": ["blue", "green", "yellow", "red"]}
158
  dem_map.addLayer(contours, vis_params, "Contours")
159
  # Create a colormap
160
+ cmap = cm.LinearColormap(colors=vis_params["palette"], vmin=vis_params["min"], vmax=vis_params["max"])
161
  #dem_map.add_child(colormap)
162
  #dem_map.add_colormap(width=4,vmin=min_value, vmax=max_value, palette=vis_params['palette'],
163
  # vis_params=vis_params, label='Elevation(m)',