From ce36850621dac23be54aaa0aad5ca26fc44b0754 Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Sun, 28 Feb 2021 16:17:58 -0800 Subject: [PATCH] use internal map rather than aprs.fi --- scripts/dashboard/dashboard.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/dashboard/dashboard.py b/scripts/dashboard/dashboard.py index 7f9ccad..f3ac2bb 100644 --- a/scripts/dashboard/dashboard.py +++ b/scripts/dashboard/dashboard.py @@ -71,7 +71,7 @@ def get_loc_data(): last_known_loc_list.append(e['call']) display_number = display_number - 1 tmp_loc = tmp_loc + ''' - ''' + e['call'] + ''' + ''' + e['call'] + '''  ''' + str(e['lat']) + '''   ''' + str(e['lon']) + '''   ''' + e['time'] + '''  @@ -240,11 +240,12 @@ def view_map(): -

+

""", folium_map._repr_html_()) except: return """

Station not found.

-

""" +

+

""" if not track_call: folium_map = folium.Map(location=map_center, tiles="Stamen Toner", zoom_start=int(zoom_level)) marker_cluster = MarkerCluster().add_to(folium_map)