Routes API implemented for travel time
This commit is contained in:
parent
5349088ba0
commit
ce9956ea52
7 changed files with 5632 additions and 1 deletions
32
code/json/routing_distancematrix.json
Normal file
32
code/json/routing_distancematrix.json
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"destination_addresses" :
|
||||
[
|
||||
"11 Canal Reach, London N1C 4DB, UK"
|
||||
],
|
||||
"origin_addresses" :
|
||||
[
|
||||
"1 Carville St, Finsbury Park, London N4 3PE, UK"
|
||||
],
|
||||
"rows" :
|
||||
[
|
||||
{
|
||||
"elements" :
|
||||
[
|
||||
{
|
||||
"distance" :
|
||||
{
|
||||
"text" : "5.4 km",
|
||||
"value" : 5411
|
||||
},
|
||||
"duration" :
|
||||
{
|
||||
"text" : "27 mins",
|
||||
"value" : 1607
|
||||
},
|
||||
"status" : "OK"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"status" : "OK"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue