diff --git a/scripts/dashboard/dashboard.py b/scripts/dashboard/dashboard.py index 33ca940..4d92e69 100644 --- a/scripts/dashboard/dashboard.py +++ b/scripts/dashboard/dashboard.py @@ -166,7 +166,13 @@ def view_map(): #folium.Marker([user_lat, user_lon], popup="" + '' + str(user_coord['call']) + '' + '\n' + user_coord['time'] + "", tooltip=str(user_coord['call'])).add_to(marker_cluster) folium.CircleMarker([user_lat, user_lon], popup="" + '' + str(user_coord['call']) + '' + '\n' + user_coord['time'] + "", tooltip=str(user_coord['call']), fill=True, fill_color="#3186cc", radius=4).add_to(marker_cluster) #return folium_map._repr_html_() - return '{} {}'.format('', folium_map._repr_html_()) + return '{} {}'.format(""" + + + Tracking """ + track_call + """

Following """ + track_call + """

+

Page automatically reloads every 2 minutes.

+

+

""", folium_map._repr_html_()) if not track_call: folium_map = folium.Map(location=map_center, zoom_start=int(zoom_level))