anofa commited on
Commit
d077415
·
verified ·
1 Parent(s): 5cd5e00

Update demo2/pages/__init__.py

Browse files
Files changed (1) hide show
  1. demo2/pages/__init__.py +4 -4
demo2/pages/__init__.py CHANGED
@@ -47,7 +47,7 @@ css = """
47
  }
48
 
49
  .v-input__control {
50
- height: 24px
51
  }
52
 
53
  .jupyter-widgets.leaflet-widgets {
@@ -367,7 +367,7 @@ def TV0MAP():
367
  keyboard=True,
368
  zoom_control=False,
369
  layers=[
370
- ipyleaflet.basemap_to_tiles(ipyleaflet.basemaps.OpenStreetMap.Mapnik), #ipyleaflet.basemaps.Esri.WorldImagery
371
  ipyleaflet.GeoJSON(
372
  data=x,
373
  style={
@@ -649,7 +649,7 @@ def Page():
649
  solara.Button(lbl_earthquake[lang.value], value="earthquake", text=True, on_click=lambda: hazard_type.set("earthquake"), style=f"{bgcolor} width: 100%; height: 26px")
650
  # DensityMap("earthquake")
651
  with solara.Row(justify="center"):
652
- solara.Image("/static/public/eq3.jpg")
653
  with solara.Column():
654
  if hazard_type.value == "flood":
655
  bgcolor = "background-color: #545454;"
@@ -659,7 +659,7 @@ def Page():
659
  solara.Button(lbl_flood[lang.value], value="flood", text=True, on_click=lambda: hazard_type.set("flood"), style=f"{bgcolor} width: 100%; height: 26px")
660
  # DensityMap("flood")
661
  with solara.Row(justify="center"):
662
- solara.Image("/static/public/fl3.jpg")
663
  # with solara.Column():
664
  # if hazard_type.value == "debris":
665
  # bgcolor = "background-color: #545454;"
 
47
  }
48
 
49
  .v-input__control {
50
+ height: 26px
51
  }
52
 
53
  .jupyter-widgets.leaflet-widgets {
 
367
  keyboard=True,
368
  zoom_control=False,
369
  layers=[
370
+ ipyleaflet.basemap_to_tiles(ipyleaflet.basemaps.NASAGIBS.ModisTerraTrueColorCR), #ipyleaflet.basemaps.Esri.WorldImagery / basemaps.OpenStreetMap.Mapnik
371
  ipyleaflet.GeoJSON(
372
  data=x,
373
  style={
 
649
  solara.Button(lbl_earthquake[lang.value], value="earthquake", text=True, on_click=lambda: hazard_type.set("earthquake"), style=f"{bgcolor} width: 100%; height: 26px")
650
  # DensityMap("earthquake")
651
  with solara.Row(justify="center"):
652
+ solara.Image("/static/public/eq3.png")
653
  with solara.Column():
654
  if hazard_type.value == "flood":
655
  bgcolor = "background-color: #545454;"
 
659
  solara.Button(lbl_flood[lang.value], value="flood", text=True, on_click=lambda: hazard_type.set("flood"), style=f"{bgcolor} width: 100%; height: 26px")
660
  # DensityMap("flood")
661
  with solara.Row(justify="center"):
662
+ solara.Image("/static/public/fl3.png")
663
  # with solara.Column():
664
  # if hazard_type.value == "debris":
665
  # bgcolor = "background-color: #545454;"