Update app.py
Browse files
app.py
CHANGED
@@ -33,6 +33,9 @@ def show_map(places_list):
|
|
33 |
except:
|
34 |
locate = None
|
35 |
|
|
|
|
|
|
|
36 |
if locate is not None:
|
37 |
if i == 0:
|
38 |
mymap = folium.Map(location=[locate.latitude, locate.longitude], zoom_start=10)
|
|
|
33 |
except:
|
34 |
locate = None
|
35 |
|
36 |
+
if locate is None:
|
37 |
+
locate = geolocator.geocode("Dortmund, Germany")
|
38 |
+
|
39 |
if locate is not None:
|
40 |
if i == 0:
|
41 |
mymap = folium.Map(location=[locate.latitude, locate.longitude], zoom_start=10)
|