Change geemap in dem and slope
Browse files
app.py
CHANGED
|
@@ -184,7 +184,7 @@ def add_geometry_to_maps(map_list, opacity=0.0):
|
|
| 184 |
|
| 185 |
def get_dem_slope_maps(buffer_ee_geometry):
|
| 186 |
# Create the map for DEM
|
| 187 |
-
dem_map =
|
| 188 |
dem_map.add_tile_layer(
|
| 189 |
wayback_mapping[latest_date], name=f"Esri Wayback - {latest_date.replace('-', '/')}", attribution="Esri"
|
| 190 |
)
|
|
@@ -220,7 +220,7 @@ def get_dem_slope_maps(buffer_ee_geometry):
|
|
| 220 |
position='bottomright')
|
| 221 |
|
| 222 |
# Create the map for Slope
|
| 223 |
-
slope_map =
|
| 224 |
slope_map.add_tile_layer(
|
| 225 |
wayback_mapping[latest_date], name=f"Esri Wayback - {latest_date.replace('-', '/')}", attribution="Esri"
|
| 226 |
)
|
|
|
|
| 184 |
|
| 185 |
def get_dem_slope_maps(buffer_ee_geometry):
|
| 186 |
# Create the map for DEM
|
| 187 |
+
dem_map = geemap.Map(controls={'scale':'bottomleft'})
|
| 188 |
dem_map.add_tile_layer(
|
| 189 |
wayback_mapping[latest_date], name=f"Esri Wayback - {latest_date.replace('-', '/')}", attribution="Esri"
|
| 190 |
)
|
|
|
|
| 220 |
position='bottomright')
|
| 221 |
|
| 222 |
# Create the map for Slope
|
| 223 |
+
slope_map = geemap.Map(controls={'scale':'bottomleft'})
|
| 224 |
slope_map.add_tile_layer(
|
| 225 |
wayback_mapping[latest_date], name=f"Esri Wayback - {latest_date.replace('-', '/')}", attribution="Esri"
|
| 226 |
)
|