Skip to content

Instantly share code, notes, and snippets.

@AdrianMachado
Created September 20, 2015 04:32
Show Gist options
  • Save AdrianMachado/a916641e2673e3985586 to your computer and use it in GitHub Desktop.
Save AdrianMachado/a916641e2673e3985586 to your computer and use it in GitHub Desktop.
{
"geocoded_waypoints": [
{
"geocoder_status": "OK",
"place_id": "ChIJUyT9Fx30K4gRjcT3Z9DE_jA",
"types": [
"street_address"
]
},
{
"geocoder_status": "OK",
"partial_match": true,
"place_id": "ChIJK2f-X1bxK4gRkB0jxyh7AwU",
"types": [
"locality",
"political"
]
}
],
"routes": [
{
"bounds": {
"northeast": {
"lat": 43.4720659,
"lng": -80.520423
},
"southwest": {
"lat": 43.46423730000001,
"lng": -80.5399961
}
},
"copyrights": "Map data ©2015 Google",
"legs": [
{
"distance": {
"text": "2.5 km",
"value": 2529
},
"duration": {
"text": "6 mins",
"value": 376
},
"end_address": "Waterloo, ON, Canada",
"end_location": {
"lat": 43.4643072,
"lng": -80.520423
},
"start_address": "200 University Ave W, Waterloo, ON N2L 3G5, Canada",
"start_location": {
"lat": 43.4690284,
"lng": -80.5398415
},
"steps": [
{
"distance": {
"text": "1.0 km",
"value": 1020
},
"duration": {
"text": "2 mins",
"value": 136
},
"end_location": {
"lat": 43.4720659,
"lng": -80.5298664
},
"html_instructions": "Head <b>southwest</b> on <b>Seagram Dr</b> toward <b>SCH Concourse</b>",
"polyline": {
"points": "m`ihG~lqjNV^f@yCF_@BOf@kCh@}Cd@gC@W?YAWCWESIYSWaCmCKOU_@OYCEaBiDQ_@uAoCoAkCGKIQs@yAqBaEqBgE"
},
"start_location": {
"lat": 43.4690284,
"lng": -80.5398415
},
"travel_mode": "DRIVING"
},
{
"distance": {
"text": "0.6 km",
"value": 626
},
"duration": {
"text": "1 min",
"value": 66
},
"end_location": {
"lat": 43.46750309999999,
"lng": -80.52533799999999
},
"html_instructions": "Turn <b>right</b> onto <b>Albert St</b>",
"maneuver": "turn-right",
"polyline": {
"points": "msihGtnojNLOt@{@x@cAHI~BoC|BiCrFyE~CoCvBkB"
},
"start_location": {
"lat": 43.4720659,
"lng": -80.5298664
},
"travel_mode": "DRIVING"
},
{
"distance": {
"text": "0.4 km",
"value": 371
},
"duration": {
"text": "1 min",
"value": 58
},
"end_location": {
"lat": 43.4643844,
"lng": -80.5252321
},
"html_instructions": "Turn <b>right</b> onto <b>Caroline St N/Regional Rd 9</b>",
"maneuver": "turn-right",
"polyline": {
"points": "{vhhGjrnjNH?HAF?HD`@XFHFHJHFFHFHFHDLFLFL@LBR@RAdAGjCMj@Ib@OZUfA_A"
},
"start_location": {
"lat": 43.46750309999999,
"lng": -80.52533799999999
},
"travel_mode": "DRIVING"
},
{
"distance": {
"text": "0.3 km",
"value": 349
},
"duration": {
"text": "1 min",
"value": 70
},
"end_location": {
"lat": 43.4653413,
"lng": -80.5212006
},
"html_instructions": "Turn <b>left</b> onto <b>Erb St W/Regional Rd 9</b> (signs for <b>Regional Road 9/Erb Street</b>)",
"maneuver": "turn-left",
"polyline": {
"points": "kchhGtqnjNu@uB}@kCQe@?w@KoBCm@Ey@SwBOuB"
},
"start_location": {
"lat": 43.4643844,
"lng": -80.5252321
},
"travel_mode": "DRIVING"
},
{
"distance": {
"text": "0.1 km",
"value": 125
},
"duration": {
"text": "1 min",
"value": 32
},
"end_location": {
"lat": 43.46423730000001,
"lng": -80.520883
},
"html_instructions": "Turn <b>right</b> onto <b>Regina St S</b>",
"maneuver": "turn-right",
"polyline": {
"points": "kihhGnxmjNbDk@DCB?NE\I"
},
"start_location": {
"lat": 43.4653413,
"lng": -80.5212006
},
"travel_mode": "DRIVING"
},
{
"distance": {
"text": "38 m",
"value": 38
},
"duration": {
"text": "1 min",
"value": 14
},
"end_location": {
"lat": 43.4643072,
"lng": -80.520423
},
"html_instructions": "Turn <b>left</b><div style=\"font-size:0.9em\">Destination will be on the right</div>",
"maneuver": "turn-left",
"polyline": {
"points": "obhhGnvmjNC_@I{@"
},
"start_location": {
"lat": 43.46423730000001,
"lng": -80.520883
},
"travel_mode": "DRIVING"
}
],
"via_waypoint": []
}
],
"overview_polyline": {
"points": "m`ihG~lqjNV^f@yCJo@pAiHf@_DAq@Ik@IYSWmC}CkCiF_EgIaHuNfCyC|FyGrKiJvBkBH?PAj@^NRf@`@VLZH`@DxAIjCMj@Ib@OZUfA_Au@uBoAqDKgDIgBc@mFhDo@RE\IC_@I{@"
},
"summary": "Seagram Dr and Regional Rd 9",
"warnings": [],
"waypoint_order": []
}
],
"status": "OK"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment