UjjwalKGupta
commited on
Commit
•
8de5b4b
1
Parent(s):
1855ff3
Update app.py
Browse files
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(
|
|
|
|
|
|
|
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()
|