Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
af8d197
1
Parent(s):
e84a44c
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,7 @@ def add_heatmap_layer(map_obj, data, column_name, colormap_name, radius=15):
|
|
25 |
fill_opacity=0.7,
|
26 |
color='black',
|
27 |
weight=0.5,
|
|
|
28 |
).add_to(heat_layer)
|
29 |
|
30 |
heat_layer.add_to(map_obj)
|
|
|
25 |
fill_opacity=0.7,
|
26 |
color='black',
|
27 |
weight=0.5,
|
28 |
+
popup=f"{column_name}: {value:.2f}"
|
29 |
).add_to(heat_layer)
|
30 |
|
31 |
heat_layer.add_to(map_obj)
|