Skip to content

Instantly share code, notes, and snippets.

@fastfingertips
Last active September 19, 2022 19:04
Show Gist options
  • Save fastfingertips/0fbab8044eaf5e820ff378bcd063d6c1 to your computer and use it in GitHub Desktop.
Save fastfingertips/0fbab8044eaf5e820ff378bcd063d6c1 to your computer and use it in GitHub Desktop.
All maps
example = '7.0032000,100.469550'
coordinate = input(f'Enter coordinate in format {example}: ')
enlem, boylam = list(map(str.strip, coordinate.split(',')))
sites = {
'Google': f"https://www.google.com/maps/search/?api=1&query={enlem},{boylam}",
'Yandex': f"https://yandex.ru/maps/?pt={boylam},{enlem}",
'Apple': f"https://maps.apple.com/?ll={enlem},{boylam}",
'OpenStreetMap': f"https://www.openstreetmap.org/#map=15/{enlem}/{boylam}",
'Here': f"https://wego.here.com/?map={enlem},{boylam}",
'Waze': f"https://www.waze.com/ul?ll={enlem},{boylam}",
}
for site in sites:
print(f"{site}: {sites[site]}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment