UjjwalKGupta commited on
Commit
8de5b4b
1 Parent(s): 1855ff3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -159,7 +159,10 @@ def get_dem_slope_maps(buffer_ee_geometry):
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(vis_params=vis_params, discrete=True, tick_size=12, bg_color='white')
 
 
 
163
 
164
  # Create the map for Slope
165
  slope_map = gee_folium.Map()
 
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(vmin=min_value, vmax=max_value, palette=vis_params['palette'],
163
+ vis_params=vis_params,
164
+ discrete=False, tick_size=10, bg_color='white',
165
+ transparent=True)
166
 
167
  # Create the map for Slope
168
  slope_map = gee_folium.Map()