ybendou commited on
Commit
bf06aef
·
1 Parent(s): eae3c1f

Update src/utils.py

Browse files
Files changed (1) hide show
  1. src/utils.py +3 -3
src/utils.py CHANGED
@@ -106,9 +106,9 @@ def add_danger_distances_to_map(map_obj):
106
  ).add_to(Danger_Distances_group)
107
 
108
 
109
- def init_map(current_localisation=[31.228674, -7.992047]):
110
  #g = geocoder.ip('me')
111
- print(f'CURRENT LOCA: {current_localisation}')
112
  #m = folium.Map(
113
  # location=[31.228674, -7.992047],
114
  # zoom_start=8.5,
@@ -120,7 +120,7 @@ def init_map(current_localisation=[31.228674, -7.992047]):
120
  # max_bounds=True,
121
  #)
122
  m = folium.Map(
123
- location=current_localisation,
124
  zoom_start=8.5,
125
  min_zoom=8.5,
126
  )
 
106
  ).add_to(Danger_Distances_group)
107
 
108
 
109
+ def init_map(current_location=[31.228674, -7.992047]):
110
  #g = geocoder.ip('me')
111
+ print(f'CURRENT LOCA: {current_location}')
112
  #m = folium.Map(
113
  # location=[31.228674, -7.992047],
114
  # zoom_start=8.5,
 
120
  # max_bounds=True,
121
  #)
122
  m = folium.Map(
123
+ location=current_location,
124
  zoom_start=8.5,
125
  min_zoom=8.5,
126
  )