Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
059564b
1
Parent(s):
ff1b036
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ for index, row in data.iterrows():
|
|
71 |
max_distance = distance
|
72 |
|
73 |
# Calculate a zoom level based on the maximum distance
|
74 |
-
zoom_level = round(
|
75 |
|
76 |
# Create a sidebar for controls
|
77 |
with st.sidebar:
|
|
|
71 |
max_distance = distance
|
72 |
|
73 |
# Calculate a zoom level based on the maximum distance
|
74 |
+
zoom_level = round(17 - np.log10(max_distance))
|
75 |
|
76 |
# Create a sidebar for controls
|
77 |
with st.sidebar:
|