map update

This commit is contained in:
Miupro
2021-10-31 00:56:00 +02:00
parent b0e1491c20
commit 0b5250feb7
3 changed files with 49 additions and 49 deletions

View File

@@ -23,9 +23,9 @@ class SwissMap:
def destination_map(self, customer_id, own_location, destination):
local_m = self.m
folium.Marker(
location=destination[1], # coordinates for the marker
popup=destination[0], # pop-up label for the marker
icon=folium.Icon(color="green")
location=own_location[1], # coordinates for the marker
popup=own_location[0], # pop-up label for the marker
icon=folium.Icon(color="blue")
).add_to(local_m)
folium.Marker(
location=destination[1], # coordinates for the marker