Last active
September 19, 2022 19:04
-
-
Save fastfingertips/0fbab8044eaf5e820ff378bcd063d6c1 to your computer and use it in GitHub Desktop.
All maps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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