Open source distance matrix api. Play with Static Maps API input parameters, get an URL link for a map picture with markers. Open source distance matrix api

 
 Play with Static Maps API input parameters, get an URL link for a map picture with markersOpen source distance matrix api  Finally, businesses can consider using open-source alternatives to the Distance Matrix API

Please refer to the full user guide for further details, as the class and function raw specifications may not be enough to give full guidelines on their uses. If you want to build an open source Matrix bridge, we will fund it with $1-5k USD. If all fields are filled then we call the getDistanceAndTime () method. Roads API Directions API Distance Matrix API Solutions Industry solutions Mobility services Places Places API Places SDK for Android Places SDK for iOS Places Library, Maps JavaScript API Geocoding API Geolocation API Address Validation API Time Zone API Environment Air Quality API Pollen APIThe travel cost matrix service allows you to create an OD cost matrix using various modes of travel from every origin to every destination. loc[site_and_point_coords["site_or_paddock"] == "paddock"]. 7484405 -73. If the API is not listed, enable it: At the. Long. Open Source GitHub Sponsors. Distance Matrix API は、車のグローブ ボックスにあったこうした印刷物を現代化したものと言えます。 各行には出発地が、各列は目的地が表されており、従来の距離行列を再作成したり、1 つの出発地点に複数の到着地点を組み合わせることもできます。 The Travel Time Matrix API is the best alternative to the Google Distance Matrix API . Source coordinates: -2. Distance Matrix API Solutions Industry solutions Mobility services Places Places API Places SDK for Android Places SDK for iOS. Build and test. We can link this back to our locations. You can imagine how many use cases it could potentially has. Path to input file (CSV format) Path to output file. You can also get isochrones around the source points and there are some more related APIs. Routing API. Calculate distance matrix of arbitrary size using The Open Source Routing Machine. Get your sales and service teams to spend more time building customer relationships and less time on the road when you fine-tune your Salesforce Maps implementation using Apex. Log in send. The information returned is based on the recommended route between start and end points, as calculated by the Google Maps API, and consists of rows containing duration and. OSRM is a free and open source API. js Client for Google Maps Services is a Node. Installation. maps. MITThis package allows you to use get simple the duration and distance between two addresses by the Google Distance Matrix API. google-distance-matrix-api has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. The Mapbox Matrix API returns travel times between many points. API. straight lines (from point A to point B). You can make accessible markers that respond to DOM click events and keyboard input. It is even more performant. setKey( key ) Overrides the current google api key. Open DataNYC is public data source that has a variety of interesting tidbits about NYC. The available options can be found in the google distance matrix api docs. javascript php distance-measures miles haversine-formula distance-calculation latitude-and-longitude kilometers haversine-distance nautic-miles. To use the API, you'll need an API key. the distance between two points. After that, we simply execute the Distance Matrix synchronous request. 0 is broken, don't use it. One to many,. While the R package is open source the Distance Matrix API itself is a commercial service, requiring registration in all cases. It's free to sign up and bid on jobs. ai can be considered as an alternative to Google’s Distance Matrix API. You must set your Google Maps API Key GOOGLE_MAPS_DISTANCE_API_KEY in your . To view the quota limits, scroll down to the Requests card. Visit the Truck Routing page to learn about how Bing Maps provides. To try the demo application, follow these steps: From GitHub, clone the or download the ZIP file. Authorization API Key. API Keys. Matrix API ›We are going to write out our API calls results to separate lists for each variable: Origin ID: This is the ID of the origin location. I keep the Origin and Destination lat/lons as separate fields in my data stream and then I make a callout to the Google Distance Matrix API like this:. The Maps JavaScript API allows you to display the public transit network of a city on your map using the TransitLayer object. For all routes we return elevation, turn-by-turn instructions, geometry, total distance and total estimated time. 22s. s. Both the Google’s Distance Matrix API and the Travel Time Matrix API can calculate travel times and distances between locations with different transport modes. Radar is the cost-effective, all-in-one alternative to Google Maps Platform. Download them from GitHub, where you can. This generates the following outputs in the dist folder: YAML file containing OpenAPI3 specificationTo view your list of enabled APIs: Go to the Google Cloud Console . Google Places API. GraphHopper Maps is an open source user interface, which you can find here. 3: Compose a more complex request: Once you are set up with a project, try a request that supplies a location data along a path. Require this package with composer. The Geographic Distance Matrix Generator is a platform-independent Java application that implements the same powerful suite of spherical functions as the Perpendicular Distance Calculator to compute all pair wise distances from a simple list of geographic coordinates. Our Routing Matrix API returns the distance and travel times between each. The sample requests for the Elevation API are equally straight forward: The TestCase performs the following steps:I've written the googleway package to do this using Google Maps API. Inspired by geopy and its great community of contributors, routingpy enables easy and consistent access to third-party spatial webservices to request route directions, isochrones or time-distance matrices. A place ID is a way to identify a location from the Google Places database. Get a demo Start for free. As we already know, a distance matrix API computes distances and ETAs between any given set of origins and destinations. Once the client is set up, the next step is to specify the cities for which you want to obtain distance data. Zip Codes in Radius API - You can use this API to find all zip codes within a given radius from another zip code. This API takes maximum of 3x3 matrix as. This is set to 180 minutes. The values for A–B and B–A can differ because the returning path isn’t. p. js wrapper for Google Distance Matrix API. duration. For example, given three locations A, B, and C, the Matrix API will return a matrix of all travel times in seconds between the locations: The Matrix API will always return the duration or the distance on the fastest route for each element in the matrix, where an element is an. From the list of APIs on the Dashboard, look for Distance Matrix API. If you do not have a Google Maps API key yet, check out the link below to setup a. Imagine a shop-finder, you have the location of the user and 25 shops. get_env(:distance_api_matrix, :api_key) is present. The Distance Matrix API free plan provides you with access to a limited number of requests per month and a limited number of tokens you can use. API keys are generated in the 'Credentials' page of the 'APIs & Services' tab of Google Cloud console. Nov 12, 2020. Click Close. 07/20/2022. elements[index]. To associate your repository with the distance-matrix topic, visit. or. You can think of distance matrix as a more complex routing API. for "text", a character vector of length 1 re-encoded to UTF-8. In the second part, we conduct a very basic linear regression analysis to test if there is a relationship between family size and distances. HiI am looking for a open source backup software for linux environment compatible both with VM and standalone physical server. Using predicted traffic and support for various modes of transportation, the Distance Matrix API can optimize map routing performance in many-to-many scenarios, which can save time, increase ROI, and. open_route_service. The SDK supports both the Kotlin. It ranks the destinations that each origin connects to in ascending order based on the minimum cost required to travel from that. Like Google Maps, Radar provides. The distances and times returned are based on the routes calculated by the Bing Maps Route API. Note: This is an optional step requiring an API key. Google Distance Matrix API - Using the service without Google map. Also, it can be set up to ignore API errors and instead print them as warnings to stdout. Learn more about how Distance Matrix API usage is billed. I need to calculate the distance between two points in a map in the same way as Google Maps' distance matrix and get direction APIs. Open Source Libraries; Local Context Library (Deprecated) Overview; Get Started; Setting Local Context and Map Options; Handling Events and User Interaction;. This library allows you to obtain the distance and travel times between multiple origins and destinations via various travel methods. 5. This library brings the Google Maps API Web Services to your Node. Region. Once you have an account, get started making. The distance calculation is useful when your web application works with the user’s location. Routes API is the next generation, performance optimized version of the existing Directions API and Distance Matrix API. Distance Matrix API requests generate calls to one of two SKUs depending on the type of request: basic or advanced . This is useful for route optimization. Embed navigation with routing and guidance directly into your app. As you can see from the following codes, the results getting from Google’s Distance Matrix API is comparable to. Open Source GitHub Sponsors. Play with Static Maps API input parameters, get an URL link for a map picture with markers. Sample request and response. Route. The photon project is also supported by the GraphHopper. text. Valhalla is an open source routing engine and accompanying libraries for use with OpenStreetMap data. Other great sites and apps similar to Distance Matrix API are Mapbox Studio, GMaps WV, TomTom MyDrive and Mapotic. You can also try Distancematrix. Click Close. Real-Life Examples of Businesses Saving Money with Distance Matrix APIUse This Function to send batch of 25 destination at a time to Google Distance Matrix Function , get the results back in X number of array and Finally merege them all . Requirements. Route. GitHub community articles Repositories; Topics Trending. We have more granular information on the errors. Latest changes . Each tool can be used in four ways: Simple – runs off an existing layer (s) as the input, but with only the key parameters being configurable. Once you have an API key, you can start testing out the Elevation API directly from your browser. POST. About Calculate distance matrix of arbitrary size using The Open Source Routing Machine Use an API. The other I/O functions also can be used with StringIO. GitHub community articles Repositories. Google maps must be able to find both the origin and the destination in order for the function to run. Click the APIs drop-down and select the Routes API. Client, Python Client, Go Client and Node. see the comments for more details . getDistanceMatrix ( { origins: [$. Calculate the distance with the Google Distance Matrix API. 0. Departure and arrival time option is used to build a forecast. The API key created dialog displays your newly created API key. Click the APIs drop-down and select the Distance Matrix API. Based on OSM data and very fast. Such updates affect the distance matrix, one of the critical datasets used to optimize the VRP problem. Traffic information is used when all the following apply (these are the conditions required to receive the duration_in_traffic field in the Distance Matrix response):The Geographic Distance Matrix Generator is a platform-independent Java application that implements the same powerful suite of spherical functions as the Perpendicular Distance Calculator to compute all pair wise distances from a simple list of geographic coordinates. With both request types, to create a. Hey how can i use distance matrix api to calculate distance between two points i. 3. It allows developers to leverage Google’s super powerful mapping engine in a cheap. Access by calling const {DistanceMatrixService} = await google. Hi @robshiffer - I use the Google API a bit and this is how I do it. Save up to 90% on your distance matrix API cost. Roads API Directions API Distance Matrix API Solutions Industry solutions Mobility services Places Places API Places SDK for Android Places SDK for iOS Places Library, Maps JavaScript API Geocoding API Geolocation API Address Validation API Time Zone API Environment Air Quality API Pollen API A travel cost matrix, also known as the origin-destination (OD) cost matrix, is a table or a matrix containing the cost, such as the travel time or travel distance, from multiple origins to multiple destinations. JavaScript. Roads. Distance Matrix API . Google Distance Matrix API is a service that provides travel data for a given list of origins and destinations. I mean apparently u could use the distanceMatrix api simply to get the distance between just 2 points. By default the response is being parsed to a list-based R object. One lib to route them all - routingpy is a Python 3 client for several popular routing webservices. On the Credentials page, click Create credentials > API key and follow the prompts. Roads API Directions API Distance Matrix API Solutions Industry solutions Mobility services Places Places API Places SDK for Android. An API request is going to have a limit of 25 origins and destinations, but for the sake of simplicity, we are going to limit ourselves to two origins. Proxies are easily set up using following requests scheme for proxying. Our API returns the route object with route geometry in GeoJSON format. Leave the arrival fields open, specify the Destinations layer as the Locations parameter and click “Run. Click the Select a project button, then select the same project you set up for the Maps JavaScript API and click Open. Test out real addresses with the developer demo, and read more details in the tutorial documents. Platform status Find. 1. I also noticed that using the Google Distance Matrix API and a JSON interpreter I can pretty much do this but I don't want to use google for this project. It is an open-source mapping solution that relies on a community of mapping websites, engineers, enthusiasts, and apps to offer them data about routes, images, and map information. By using the distanceMatrix-API you would need 1 request to. Go to the Google Cloud Console . We’ll be using the Google Places API Web Service with Distance Matrix API in the application. To change a quota limit, click the Edit icon for that limit. You can even use these profiles to optimize routes for delivery bicycles. Google Places API Web Service allows us to query places based upon a few parameters such as the type of place, whether a place is open right now etc. Distance Matrix API; Elevation API; Geocoding API; Geolocation API; Roads API; Time Zone API; Places API Web Services; Dependency. - GitHub - elnkosc/DistanceAPI: Generate a distance matrix based on provided addresses. This string MUST be the version number of the OpenAPI Specification that the OpenAPI document uses. We can also use googlemaps library and Google’s Distance Matrix API to obtain the similar information. 8. /directions/v2/route. The Bing Maps Routing API considers live traffic data and historical traffic data to present the fastest and safest route for users. If you see the API in the list, you’re all set. distance: The distance, in metres, between each pair of coordinates; duration: The duration between each pair of coordinates, in seconds; datasources: The index of the datasource for the speed between each pair of coordinates. 0. You can optionally: Specify the maximum number of destinations to find for each origin instead of all. Distance Matrix API application (+ Python script) This application provides you an opportunity to: quickly check the functionality of the Distance Matrix API; use the Distance Matrix API service without programming; get results directly in Excel; use this demo as a good example of how to use the API in a Python scriptNow Use a helper method to check if any EditText field is empty when the user clicks on the button. Distances are calculated to account for driving, walking, or bicycling. API. Traffic information is used when all the following apply (these are the conditions required to receive the duration_in_traffic field in the Distance Matrix response):1. The biggest difference between the two is immediately obvious in these definitions: Unlike. If you see the API in the list, you’re all set. Check out the NEW interactive version of the cheat sheet. . Time-Distance Matrix. Fine-tuned controls to reduce latency The new Routes API introduces additional options for improving the performance of your app. View Details ». 2. An OD cost matrix is a table that contains cost, such as travel time or travel distance, from each origin to each destination. Maps. We used Google Maps API to make sure it provides us with real-time data which takes traffic into consideration. maps. TravelTime is the only API to charge on bespoke requests per minute – not PAYG, not monthly or annual usage limits, and no overage. lat. API Playground Log in LOG IN. The information returned is based on the recommended route. The parameter supports the following arguments: The Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations. Using the Google Distance Matrix API. Route Matrix API. Distance API Free features. These are the APIs available in OSRM. It helps you find the ideal route from A to Z, calculates ETAs and distances for matrices of origin and destination locations, and also offers new features. These libraries are versioned on GitHub and published to npm. a dedicated in-house data team, TravelTime offers a. There is an alternative that costs much cheaper than Google API does. Matrix API (driving, walking, and cycling profiles) 25: coordinates per request60: requests per minuteMatrix API (driving-traffic profile) 10: coordinates per requestThe Google Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations. If the API is not listed, enable it: At the. MatrixApi calculate_matrix Example Parameters Return type Authorization HTTP request headers get_matrix Introduction The Matrix is part of the GraphHopper Directions API and with this API you can calculate many-to-many distances, times or routes a lot more efficient than calling the Routing multiple times. Geocoding included. Open the Google API Console. DM me if you want more information and/or advice. Cut your Google Maps or Mapbox bill in half. Calculate driving distance & time in Zoho Creator with Google Maps Distance Matrix API. Center points (Red marker) Secondary Locations separated by semi colon. open_route_service. API. Features Learn about core features of the Distance Matrix API. Get a Maps SDK for Android key. 128 ms. Directions between multiple locations. Check out our open source utilities and example apps to help you build better and faster. distance_matrix. Using TypeScript. 1 and later, this operation calls simplify on the input geometry1 and geometry2 values when the geodesic parameter is true. " GitHub is where people build software. Distance matrix, also known as matrix routing, is the calculation of duration and distance among several origins and destinations. Matrices allow you to compute many-to-many distances and the times of routes much faster than consuming the directions api over and over again. See the API, examples/tsv/index. In Android Studio, choose File -> Open and navigate to the directory and open the folder that you just cloned or downloaded. On the Credentials page, click Create credentials > API key . I need to generate a distance matrix with all cities of my state (about 850 cities). For server-side use, you can use Java Client, Python Client, Go Client and Node. Article. A place ID finder is provided by Google; you can use it by following this link. 1,000 elements per month. Notes. The travel mode (driving, walking, bicycling) Your Google Maps API key. In the Cloud Console, open the Google Maps Platform Quotas page. API . Built for performance at scale, the API can calculate hundreds of thousands of journey times in the blink of an eye. osm file for the map data. The short answer is NO. The openrouteservice library gives you painless access to the openrouteservice (ORS) routing API's. Matrix API ›An API key is provided upon sign up and is required when accessing MapQuest services. The documentation for each API is structured by endpoints. org which is available for light usage within the terms of use (see the OSRM wiki). Click the Select a project button, then select the same project you set up for the Maps JavaScript API and click Open. google-maps-api zoho google-distance-matrix zoho-deluge zoho-creator Updated Aug 18, 2022;. Calculate large distance matrix using The Open Source Routing Machine. maps. In the second part, we conduct a very basic linear regression analysis to test if there is a relationship between family size and distances. 2 and Laravel 5. The Maps JavaScript API lets you customize maps with your own content and imagery for display on web pages and mobile devices. maps. The Distance Matrix API is unfortunately NOT free. API docs. Three little php and JS snippets that do the same, calculate the distance between two points on earth in kilometers, miles and nautic miles. Age Calculator using JavaScript. distance. Open Source GitHub Sponsors. The Distance Matrix API is a service offered by that provides travel distance and time for a matrix of origins and destinations. Valhalla also includes tools like time+distance matrix computation, isochrones, elevation sampling, map matching and tour optimization (Travelling Salesman). We can link this back to our location. p. Introducing DistanceAPI, a versatile API that calculates distances between addresses, postcodes, and cities for airline, car, and maritime routes. js Client for Google Maps Services are community-supported client libraries, open sourced under the Apache 2. ndarray) – For each row in vectors_all, distance from vector_1 is computed, expected shape (num_vectors, dim). The information returned is based on the recommended route between start and end points, as calculated by the Google Maps API, and consists of rows containing duration and distance values for each pair. Distance Matrix Example. Comes with a JS demo and a Java client . Traffic information is used when all the following apply (these are the conditions required to receive the duration_in_traffic field in the Distance Matrix response): The travel mode parameter is driving, or is not specified (driving is the default travel mode). Our routing services come with elevation, road class and surface data which generate precise time and distance estimates. For reference on concepts repeated across the API, see Glossary of Common Terms and API Elements. The general case is a row ordered matrix with the time and distance from each source location to each target location. v4. Also, we generated a new feature by using Google Distance Matrix API. 1. This API is extremely convenient and scalable for batch requests determining aggregated metrics of routes (it does not return detailed route information, use the directions api for this use case). The API will only return a single route, which is the best possible route. The time-distance matrix can return a row matrix, a column matrix, or a general matrix of computed time and distance, depending on your input for the sources and targets parameters. The diagonal elements of the matrices A–A and B–B. We are going to write out our API calls results to separate lists for each variable: Origin ID: This is the ID of the origin location. Hi, I want to calculate the distance between origin and multiple destinations like the user has started traveling from place A to Place B then Place B to Place C and place C to Place D or Place A to Place B and Place C to Place D and so on. url —Specify a REST query request to any ArcGIS Server feature, map, or geoprocessing service that returns a JSON feature set. Install the package using composer:Routes API. It is even more performant than the existing Directions and Distance Matrix APIs, and provides features that allow you to make tradeoffs between comprehensive accuracy and reduced latency. According to documentation, it has a very similar request format to the Google Distance Matrix API. See Libraries in the Maps JavaScript API. Support for multiple modes of travel, including walking, driving, and public transportation, makes the API accessible for a wide range of users. Either by repetitive use of one-to-all shortest path algorithms like Dijkstra's or maybe use an all-to-all shortest path algorithms such as the Floyd-Warshall algorithm. env file like so:Zip Codes to Location. 50 for every 1,000 calls after that, with volume discounts available. GraphHopper invests in an active open source community. Region. We will take 2 layers for Washington DC - one with points representing addresses and another with points representing mental health facilities - and find out the facility with the least travel distance from each address using the OpenRouteService (ORS) Distance. –Distance Matrix: MapmyIndia Maps API. Create the distance callback. Q&A for work. The Maps JavaScript API features four basic map types (roadmap, satellite, hybrid, and terrain) which you can modify using layers and styles, controls and events,. RedLine Zipcode. In here first, we store the user current location in the tempLocation. numpy. I was using a loop to calculate almost 300,000 rows of data for a student project (I am studying Data Science with Python). Also, we generated a new feature by using Google Distance Matrix API. Geoapify's Road Routing API makes it easy to calculate a route between two or more waypoints for cars, trucks, bicycles, walking, and transit. The Google Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations. With the Travel Time Matrix API, you can calculate travel times between thousands of origins and destinations simultaneously, for any mode of transport – including driving, public transport, cycling and walking. Bing’s geocoding API is a pretty decent alternative with a 1M limit of free geocode entities per year. Distance Matrix API alternatives are mainly Map Services but may also be GPS Navigation Services. It reports the 2D Euclidean or geodesic distance between the two geometries. An API provides source code-based facilities to develop applications for a system in a given pro. As per the documentation, we retrieve the distance between a set of origins and destinations in the following manner (Server API). The diagonal elements of the matrices A–A and B–B are zero because the travel distance and the time from one spot to the same spot is zero. The Routes API is a service that accepts an HTTPS request and returns either the ideal route between two locations, or distances and travel times for a matrix of routes between different origin and destination locations. This package is an encapsulation/wrapper made around openrouteservice API for Dart and Flutter projects. Route Matrix API - calculates a matrix of distances and travel times between multiple. With the GraphHopper Directions API you can integrate A-to-B route planning, turn-by-turn navigation, route optimization, isochrone calculations, location clustering and other tools in your application. See this overview image for a detailed comparison or for details regarding the differences of the Routing API vs. In the Routing we support. For example, given three locations A, B, and C, the Matrix API will return a matrix of all travel times in seconds between the locations: The Matrix API will always return the duration or the distance on the fastest route for each element in the matrix, where an element is an. Sign Up. The API returns up to 1000 requests and 2500 elements with one request, and it takes less than a second to do it. If the API is not listed, enable it:The Google Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations. Maps. Matrix is a set of open APIs for open-federated Instant Messaging (IM), Voice over IP (VoIP) and Internet of Things (IoT) communication, designed to create and support a new global real-time communication ecosystem. OSRM (Open Source Routing Machine) is a C++ implementation of a high performance route search engine to obtain the shortest paths in a road network. We built a contextual AI assistant using Rasa Open Source that tells the time it takes to move between two locations. The Maps JavaScript API lets you customize maps with your own content and imagery for display on web pages and mobile devices. You can choose whether you want the distance in kilometers, miles, nautical. The information returned is based on the recommended route between start and end points. 8 or later. Geocoding API . Go to the Google Maps Platform > Credentials page. Route provides information on how to get from point A to point B, or points C, D and E. Our only requirements are BSD/Apache license + use mautrix-go library. routingpy currently includes support. You have complete control over the origins in each row and destinations in each column,. Route. Connect and share knowledge within a single location that is structured and easy to search. (Remember to restrict the API key before using it in production. Times are based on predictive traffic information, depending on the start time specified in the request. Directions API . Generate a distance matrix based on provided addresses. Google Maps Platform web services; Directions API; Distance Matrix API; Elevation API; Geocoding API; Geolocation API; Time Zone API; Roads API; Places API; Maps Static API; Support. Either by repetitive use of one-to-all shortest path algorithms like Dijkstra's or maybe use an all-to-all shortest path algorithms such as the Floyd-Warshall algorithm. 1 request per second. Introduction to the Matrix APIs. Go to the Credentials page. elements[index]. Browse 10+ Distance Matrix APIs available on RapidAPI. Google’s Distance Matrix API is a great source of data readily available for your travel/map/gps app needs. Retrieving Place Details in Places API web service, Places SDK for Android, Places SDK for iOS, and Places Library. In order to use it you’ll need an API key which you can set up by following these directions. Organizations are already integrating V8 Web Control features to create interactive map experiences, saving. Is the distance matrix API affordable? Radar is free up to 100,000 requests per month and only $0. The OpenMatrix Language provides all scientists, technologists, engineers, & mathematicians (i. Open Source GitHub Sponsors. Fund open source developers The ReadME Project. This folder is using an authorization helper from collection Google Maps Platform. open_route_service. chris hutchinson. Updated version of some distance matrix apis. This method makes an API call to the Google Maps Distance Matrix API to calculate the distance and time between two places Lat. You can calculate the distance and duration of a route for multiple origins and destinations by using the ComputeRouteMatrix method of the Routes Preferred API. No such AWS service. Create real world and real time experiences for your customers with dynamic maps, routes & places APIs from Google Maps Platform’s location solutions. Get driving distance between multiple points - currently using open route service - but need a faster way similar to google distance matrix but free Ask Question Asked 1 year, 4 months ago Using the Bing Maps Distance Matrix API, you can calculate a route using traffic data to determine a distance matrix based on travel time or distance for many scenarios, such as store locators, job search sites, location scoring, and more. This API accounts for traffic conditions, calculates distances for driving, walking and bicycling modes. 2 2 years ago.