giswqs commited on
Commit
70ac915
1 Parent(s): 36d0abf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -4,7 +4,7 @@ from shiny import reactive
4
  from shiny.express import input, ui
5
  from shinywidgets import output_widget, render_widget
6
  from faicons import icon_svg
7
- import ipyleaflet as ipyl
8
 
9
  geemap.ee_initialize(service_account=True)
10
 
@@ -21,7 +21,8 @@ ui.input_select("center", "Center", choices=list(city_centers.keys()))
21
 
22
  @render_widget
23
  def map():
24
- return geemap.Map(zoom=4)
 
25
 
26
  @reactive.effect
27
  def _():
 
4
  from shiny.express import input, ui
5
  from shinywidgets import output_widget, render_widget
6
  from faicons import icon_svg
7
+ import ipyleaflet
8
 
9
  geemap.ee_initialize(service_account=True)
10
 
 
21
 
22
  @render_widget
23
  def map():
24
+ Map = ipyleaflet.Map(zoom=4)
25
+ return Map
26
 
27
  @reactive.effect
28
  def _():