Skip to content

Instantly share code, notes, and snippets.

@TravelTime-Frontend
Created May 30, 2023 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TravelTime-Frontend/3cef38dda4eeb73b64c118deecbdde9e to your computer and use it in GitHub Desktop.
Save TravelTime-Frontend/3cef38dda4eeb73b64c118deecbdde9e to your computer and use it in GitHub Desktop.
TravelTime Matrix Fast Protobuff API request for 100,000 locations
{
"country": "uk",
"departureLocation": {
"lat": 51.5119637,
"lng": -0.1279543
},
"destinationCoordinates": [
{
"lat": 51.51169250837311,
"lng": -0.1180740098588654
},
{
"lat": 51.49889396413775,
"lng": -0.09131661480356021
},
... // The rest of locations
],
"transportation": "driving+ferry",
"travelTime": 1800
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment