mirror of
https://codeberg.org/matkoniecz/list_how_openstreetmap_can_be_improved_with_alltheplaces_data.git
synced 2025-04-11 10:09:29 +02:00
zoom higher when linking ATP
to be more clear what was linked
This commit is contained in:
parent
cb8bbbe50c
commit
0c35f3ca95
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue