Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
653bd0b
1
Parent(s):
927c3de
tooltips
Browse files- src/utils.py +3 -2
src/utils.py
CHANGED
@@ -75,7 +75,8 @@ def add_epicentre_to_map(fg):
|
|
75 |
)
|
76 |
|
77 |
fg.add_child(folium.Marker(location=EPICENTER_LOCATION,
|
78 |
-
|
|
|
79 |
icon=icon_epicentre))
|
80 |
|
81 |
|
@@ -99,7 +100,7 @@ def add_danger_distances_to_map(map_obj):
|
|
99 |
fill_opacity=zone["fill_opacity"],
|
100 |
opacity=zone["fill_opacity"], # Assuming border opacity should match fill_opacity
|
101 |
fill_color=zone["fill_color"],
|
102 |
-
tooltip=zone["tooltip"],
|
103 |
).add_to(Danger_Distances_group)
|
104 |
|
105 |
|
|
|
75 |
)
|
76 |
|
77 |
fg.add_child(folium.Marker(location=EPICENTER_LOCATION,
|
78 |
+
# popup="Epicenter مركز الزلزال",
|
79 |
+
tooltip="Epicenter مركز الزلزال",
|
80 |
icon=icon_epicentre))
|
81 |
|
82 |
|
|
|
100 |
fill_opacity=zone["fill_opacity"],
|
101 |
opacity=zone["fill_opacity"], # Assuming border opacity should match fill_opacity
|
102 |
fill_color=zone["fill_color"],
|
103 |
+
# tooltip=zone["tooltip"],
|
104 |
).add_to(Danger_Distances_group)
|
105 |
|
106 |
|