Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -190,7 +190,7 @@ def create_map_from_markers(dataframe):
|
|
190 |
for _, row in dataframe.iterrows():
|
191 |
if np.isnan(row["lat"]) or np.isnan(row["lon"]):
|
192 |
continue
|
193 |
-
popup_message = f"<h4 style='color: #d53e2a;'>{row['name']}</h4><p style='font-weight:500'>{row['description']}</p>"
|
194 |
popup_message += f"<a href='https://www.google.com/search?q={row['name']}' target='_blank'><b>Learn more about {row['name'].split(',')[0]}</b></a>"
|
195 |
|
196 |
marker = folium.Marker(
|
|
|
190 |
for _, row in dataframe.iterrows():
|
191 |
if np.isnan(row["lat"]) or np.isnan(row["lon"]):
|
192 |
continue
|
193 |
+
popup_message = f"<h4 style='color: #d53e2a;'>{row['name'].split(',')[0]}</h4><p style='font-weight:500'>{row['description']}</p>"
|
194 |
popup_message += f"<a href='https://www.google.com/search?q={row['name']}' target='_blank'><b>Learn more about {row['name'].split(',')[0]}</b></a>"
|
195 |
|
196 |
marker = folium.Marker(
|