CombinedDetails Data Response
This object returns an object containing each of a Directions object, an array of SingleForecast objects, and optionally an array of Geocode objects.
Properties
route objectA single route generated by the request, represented by a Directions object.
forecasts array of objectsTwo or more forecasts generated by the request, each represented by a SingleForecast object. These correspond to the
forecastPoints returned in the rotue object.geocodes array of objects
If optionally included, these objects are descriptive geocode information represented by a
Geocode object. These objects correspond to the
forecastPoints returned in the rotue object.Sample output
{
"route": {
"distance": 722596.188,
"time": 7.45,
"polyline": [{ ... }],
"forecastPoints": [{ ... }]
},
"forecasts": [
{
"latitude": 39.526,
"longitude": -119.813,
"hourly": [{ ... }],
"daily": [{ ... }],
"alerts": [{ ... }]
},
{
"latitude": 39.526,
"longitude": -120.513,
"hourly": [{ ... }],
"daily": [{ ... }],
"alerts": [{ ... }]
},
...
],
"geocodes": [
{
"gps": "39.526,-119.813",
"latitude": 39.5261206,
"longitude": -119.8126581,
"postalCode": null,
"city": "Reno",
"county": "Washoe County",
"state": "Nevada",
"country": "United States",
"osmId": 170120,
"longName": "Reno, Nevada, United States",
"shortName": "Reno, NV, US"
},
...
]
}
