The Mapbox Matrix API returns travel times between many points and returns a matrix of all travel times between the locations. It will always return the duration on the fastest route and durations between points may not be symmetric, as the routes may differ by direction due to one-way streets or turn restrictions. It allows you to build tools that check the reachability of coordinates from each other, filter points by travel time, or run your own algorithms for solving optimization problems. The Matrix API returns durations in seconds and does not return route geometries or distances. Mapbox is an open source mapping platform for developers that provides tools for Maps and location data, Location based games, VR and AR applications and more.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.