Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
2e2e519
1
Parent(s):
5d5f51b
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ for index, row in data.iterrows():
|
|
68 |
max_distance = distance
|
69 |
|
70 |
# Calculate a zoom level based on the maximum distance
|
71 |
-
zoom_level = round(15
|
72 |
|
73 |
# Create a sidebar for controls
|
74 |
with st.sidebar:
|
|
|
68 |
max_distance = distance
|
69 |
|
70 |
# Calculate a zoom level based on the maximum distance
|
71 |
+
zoom_level = round(15 - np.log10(max_distance_all))
|
72 |
|
73 |
# Create a sidebar for controls
|
74 |
with st.sidebar:
|