feat: Added notes creation, view and deletion, added route planning, added location list with current weather and nearby locations, code improvements and fixes

This commit is contained in:
ITQ
2024-03-26 07:49:50 +03:00
parent 65719a61ef
commit 88dfe1704d
24 changed files with 1571 additions and 301 deletions
+12
View File
@@ -0,0 +1,12 @@
__all__ = ("get_url_map",)
def get_url_map(coordinats: list, profile: str):
result_url = "https://graphhopper.com/maps/?"
for coordinat in coordinats:
result_url += f"point={coordinat[0]}, {coordinat[1]}&"
result_url += f"profile={profile}&layer=OpenStreetMap"
return result_url