1
0
Fork 0

zoom higher when linking ATP

to be more clear what was linked
This commit is contained in:
Mateusz Konieczny 2025-02-09 09:21:58 +01:00
parent cb8bbbe50c
commit 0c35f3ca95

View file

@ -19,7 +19,7 @@ def link_to_point_in_osm(lat, lon, zoom_level=19):
# zoom_level must be an integer
return 'https://www.openstreetmap.org/?mlat=' + str(lat) + "&mlon=" + str(lon) + "#map=" + str(zoom_level) + "/" + str(lat) + '/' + str(lon)
def link_to_point_in_atp(lat, lon, zoom_level=19):
def link_to_point_in_atp(lat, lon, zoom_level=22):
# alltheplaces accepts zoom levels such as 20.44
return 'https://www.alltheplaces.xyz/map/#' + str(zoom_level) + '/' +str(lat) + '/' + str(lon)