Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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 |
-
|
|
|
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 _():
|