"stops" is now an array of arrays: one for each direction.

This commit is contained in:
George Kaklamanos 2015-07-16 14:19:56 +03:00
parent 3034497a81
commit 899fb6103f

View file

@ -3,37 +3,37 @@
"id":"10",
"line":"10",
"name":"Λιμάνι - Π.Α.Γ.Ν.Η.",
"stops":[
"1",
"2"
]
"stops":{
"go":["1", "2"],
"come":["2", "1"]
}
},
{
"id":"20",
"line":"10",
"name":"Λιμάνι - Πανεπιστήμιο",
"stops":[
"1",
"4"
]
"stops":{
"go":["1", "4"],
"come":["4", "1"]
}
},
{
"id":"11",
"line":"11",
"name":"Λιμάνι - Αεροδρόμιο",
"stops":[
"1",
"3"
]
"stops":{
"go":["1", "3"],
"come":["3", "1"]
}
},
{
"id":"12",
"line":"12",
"name":"Π.Α.Γ.Ν.Η - Αεροδρόμιο",
"stops":[
"2",
"3"
]
"stops":{
"go":["2", "3"],
"come":["3", "2"]
}
}