m-ric HF staff commited on
Commit
cd6e4d4
·
verified ·
1 Parent(s): bdfe6dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
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="CartoDB Voyager",
 
 
 
 
 
 
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"]):