-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.py
10 lines (8 loc) · 923 Bytes
/
data.py
1
2
3
4
5
6
7
8
9
10
apik = "your-api-key"
addresses =["7 Archers Rd, Auckland", "26 zara court, Auckland", "80 Cook St, Auckland", "20 Link Dr, Auckland",
'405 East Coast Road, Auckland','21 Regency Place, Auckland',
'99 Parnell Road, Parnell, Auckland']
def getStaticPoints():
return [[(-36.7908103, 174.7274292), (-36.7499239, 174.7394236), (-36.7382824, 174.7416761), (-36.7402833, 174.7360112), (-36.7639833, 174.7360538), (-36.7908103, 174.7274292)], [(-36.7908103, 174.7274292), (-36.8513355, 174.7568861), (-36.8531677, 174.7788582), (-36.7908103, 174.7274292)]]
def getStaticDistance():
return [[0, 8535, 10259, 4300, 7880, 7099, 13771], [8528, 0, 15967, 4560, 701, 2458, 19479], [10441, 16690, 0, 12246, 16035, 15793, 3000], [4178, 4574, 12096, 0, 3920, 3162, 15608], [7873, 701, 15313, 3906, 0, 1804, 18825], [7067, 2434, 15045, 3135, 1779, 0, 18557], [13394, 19642, 7157, 15198, 18988, 18746, 0]]