Spaces:
Running
Running
Removed slider
Browse files- pages/01_leafmap.py +1 -1
pages/01_leafmap.py
CHANGED
|
@@ -18,7 +18,7 @@ class Map(leafmap.Map):
|
|
| 18 |
def Page():
|
| 19 |
with solara.Column(style={"min-width": "500px"}):
|
| 20 |
# solara components support reactive variables
|
| 21 |
-
solara.SliderInt(label="Zoom level", value=zoom, min=1, max=20)
|
| 22 |
# using 3rd party widget library require wiring up the events manually
|
| 23 |
# using zoom.value and zoom.set
|
| 24 |
Map.element( # type: ignore
|
|
|
|
| 18 |
def Page():
|
| 19 |
with solara.Column(style={"min-width": "500px"}):
|
| 20 |
# solara components support reactive variables
|
| 21 |
+
# solara.SliderInt(label="Zoom level", value=zoom, min=1, max=20)
|
| 22 |
# using 3rd party widget library require wiring up the events manually
|
| 23 |
# using zoom.value and zoom.set
|
| 24 |
Map.element( # type: ignore
|