Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -178,7 +178,13 @@ def create_map_from_markers(dataframe):
|
|
178 |
f_map = Map(
|
179 |
location=[dataframe["lat"].mean(), dataframe["lon"].mean()],
|
180 |
zoom_start=5,
|
181 |
-
tiles=
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
)
|
183 |
for _, row in dataframe.iterrows():
|
184 |
if np.isnan(row["lat"]) or np.isnan(row["lon"]):
|
|
|
178 |
f_map = Map(
|
179 |
location=[dataframe["lat"].mean(), dataframe["lon"].mean()],
|
180 |
zoom_start=5,
|
181 |
+
tiles=folium.TileLayer(
|
182 |
+
tiles="https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}",
|
183 |
+
attr="Google",
|
184 |
+
name="Google Maps",
|
185 |
+
overlay=True,
|
186 |
+
control=True,
|
187 |
+
),
|
188 |
)
|
189 |
for _, row in dataframe.iterrows():
|
190 |
if np.isnan(row["lat"]) or np.isnan(row["lon"]):
|