Open source distance matrix api. Value. Open source distance matrix api

 
 ValueOpen source distance matrix api  Animate the user marker on google maps when the user current location changed

We’ll need the API key later! Step 3- Get the IDNYC Locations data from NYC Open Data. 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. 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. Route Matrix API - calculates a matrix of distances and travel times between multiple. But the application I'm building requires calculation of more than 12 places so I. The information returned is based on the recommended route. Teams. You can also try Distancematrix. The Mapbox Matrix API returns travel times between many points. In particular, the google_directions() function will give you driving distances, directions, routes, legs, steps etc. It's free to sign up and bid on jobs. Directions API; Distance Matrix API; Elevation API; Geocoding API; Maps Static API; Places API; Roads API; Time Zone API; Keep in mind that the same terms and conditions apply to usage of the APIs when they're accessed through this library. The documentation for each API is structured by endpoints. RedLine Zipcode. It enables an application to compute the distance and time between two locations, using various modes of transportation. The Enterprise license is for growing apps and businesses that want to upgrade their operations and dream bigger. Technically, Matrix is open decentralised pubsub layer for the internet for securely persisting and. The GraphHopper Directions API consists of the following RESTful web services: Profiles API (beta). This is not related to the API info. This library brings the Google Maps API Web Services to your Node. Contributing. Routes API is the next generation, performance optimized version of the existing Directions API and Distance Matrix 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. This example returns a simple distance matrix between a set of origins and destinations. –For the origins, specify the Departure ID field as “address” and the travel time in seconds (four hours is the maximum amount, so 14400 seconds). Switch side. View Details ». Polyline ( {path: [dakota, frick], map: map}); Reload the map and you should see a dark, diagonal line connecting. The other I/O functions also can be used with StringIO. Routes and Navigation Distance MatrixThe Distance Matrix API web service returns results as rows array where each row item corresponds to one origin from origins parameter in request and the order is preserved as in the original request. Planet OSM – OpenStreetMap. Go to the Google Cloud Console . A 1000×1000 matrix can now be determined in 8 seconds rather than 2. The distance is returned in meters and the time in seconds. Google Places API. Click Close. Distancematrix. . Matrix. 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. Google Distance Matrix API Library for Elixir. For even more information on getting started with Google Maps Platform and generating/restricting an API key, see Get Started with Google Maps Platform in our docs. Getting directions through the Directions API. Download them from GitHub,. 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 . Other great sites and apps similar to Distance Matrix API are Mapbox Studio, GMaps WV, TomTom MyDrive and Mapotic. rows[0]. In here first, we store the user current location in the tempLocation. ”. distance. 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. GitHub community articles Repositories; Topics Trending Collections. 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. We built a contextual AI assistant using Rasa Open Source that tells the time it takes to move between two locations. Roads API Directions API Distance Matrix API Solutions Industry solutions Mobility services Places Places API Places SDK for Android. YouTube Tutorials, tips, announcements, developer stories, and more. You must set your Google Maps API Key GOOGLE_MAPS_DISTANCE_API_KEY in your . In this tutorial, we will show you how to calculate distance between two addresses with Google Maps Geocoding API using PHP. This parameter may only be specified for transit directions. Unfortunately for the Distance Matrix API, Google strictly says you NEED to display the map in your application: Use of the Distance Matrix API must relate to the display of information on a Google Map; for example, to determine origin-destination pairs that fall within a specific driving time from one another, before requesting and displaying. This usage of the Distance Matrix API includes one destination (the customer) and multiple origins (each potential technician). url —Specify a REST query request to any ArcGIS Server feature, map, or geoprocessing service that returns a JSON feature set. This string MUST be the version number of the OpenAPI Specification that the OpenAPI document uses. Test out real addresses with the developer demo, and read more details in the tutorial documents. And the google_distance() function will give you a distance matrix for all the origins/destinations. Based on OSM data and very fast. And with a dedicated in-house data team. 5. composer require programic/laravel-distance-matrix. Contributing. You must set your Google Maps API Key GOOGLE_MAPS_DISTANCE_API_KEY in your . Method 1: Calculate driving distance using Free OSRM API. com; File an issue against one of our open source. v4. If the API is not listed, enable it: At the. We can link this back to our 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. This seems like a more feasible solution. 1 and later, this operation calls simplify on the input geometry1 and geometry2 values when the geodesic parameter is true. Build and test. php, use command: php artisan vendor:publish --tag= "google-distance". A place ID is a way to identify a location from the Google Places database. TravelTime is a way of searching and filtering data using time, not distance. Embed navigation with routing and guidance directly into your app. 07/20/2022. M. npm run build. Generate a distance matrix based on provided addresses. Also, when batch requesting, routingpy can be set up to resume its requests when the remote API rate limits (i. A developer-friendly API Even if you haven’t used other Bing Maps APIs before, it’s easy to jump in and make the most of the Distance Matrix API. A row vector is considered a one_to_many time. Distance Matrix API は、車のグローブ ボックスにあったこうした印刷物を現代化したものと言えます。 各行には出発地が、各列は目的地が表されており、従来の距離行列を再作成したり、1 つの出発地点に複数の到着地点を組み合わせることもできます。 The Travel Time Matrix API is the best alternative to the Google Distance Matrix API . Once easily integrated into an app, TravelTime provides the best possible user experience for a location search. A service for computing distances between multiple origins and destinations. Center points (Red marker) Secondary Locations separated by semi colon. Performs requests to the ORS Matrix API. Nearest service; Route service — Similar to Directions API; Table service — Similar to Distance Matrix API; Match. elements[index]. Once you have an account, get started making. With two locations A and B, you can use this method to return matrices of travel distance and times between A–B and B–A. The API returns the distance based on the recommended route between origin and destination points, as calculated by API, and consists of rows containing distance values for each pair. 3. The API can convert a zip code to the primary location for the zip code. 4API that allows your clients to effectively pinpoint organizations using parameters like address, name, TIN, and others, as well as look up additional details about businesses. An OD cost matrix is a table that contains cost, such as travel time or travel distance, from each origin to each destination. To optimize it, we would need to re-arrange the stops order, and for this, we first need to get or calculate a 4x4 distance matrix. We can link this back to our locations. Introduction to the Matrix APIs. Maps. composer require pnlinh/laravel-google-distance. Bring your own POIs. Authorization API Key. 0. Key : Set by default if Application. Add the following code to your. (Remember to restrict the API key before using it in production. Forgot your password? Don't have an account yet? Sign up “Everything is related to everything else, but near things are more related than distant things. 2000². Distance Matrix API; Elevation API; Geocoding API; Geolocation API; Roads API; Time Zone API; Places API Web Services; Dependency. For direction calculations that respond in real time to user input (for example, within a user interface element), you can use the Directions API or, if you're using the Maps JavaScript API, use the Directions service . When generating an OD cost matrix, you can optionally specify the maximum number of destinations to find for each origin and the maximum time or distance to travel when searching for destinations ( 1. p. Competitive enterprise maps API pricing helps businesses save on costs in the long run while streamlining their operations. It can use this open source routing engine or the GraphHopper Directions API, which provides the Routing API, a Route Optimization API (based on jsprit), a fast Matrix API and an address search (based on photon). –Distance Matrix: MapmyIndia Maps API. How to use distance matrix api with LatLng origin and destination #118. For all routes we return elevation, turn-by-turn instructions, geometry, total distance and total. 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. 這篇文章介紹的內容,主要參考了Distance Matrix Service的線上API文件,Google寫得十分詳細,想做更深入的應用可以仔細閱讀,另外Google在Udacity有提供免費的Google Map API課程,內容有趣又有許多實際範例,上完真的可以運用Google Map API玩出很多很厲害的功能,有興趣的人可以參考看看。 In the Cloud Console, open the Google Maps Platform Quotas page. API docs. If the API is not listed, enable it:The Directions API is a web service that uses an HTTP request to return JSON or XML-formatted directions between locations. In the Cloud Console, open the Google Maps Platform Quotas page. Fund open source developers The ReadME Project. The Maps JavaScript API allows you to display the public transit network of a city on your map using the TransitLayer object. With two locations A and B, you can use this method to return matrices of travel distance and times between A–B and B–A. Additionally, it ranks the destinations in ascending order based on the minimum cost required to travel. More information about the Google Maps Distance Matrix API:. Google Maps Distance Matrix API – Calculates distances and travel times based on start and destination points,. . Scalability (google distance matrix API has limited of max 25 origins and destinations). 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. , people in STEM fields) with open access to a powerful matrix-based computational engine. Routes API. This is a simple package that allows access to the Google Maps Distance Matrix API using a (mostly) fluent API. After that, we simply execute the Distance Matrix synchronous request. /directions/v2/route. Java 1. Report a bug or open a feature request. A sample HTTP request is shown below, requesting distance and duration from Vancouver, BC, Canada and from Seattle, WA, USA, to San Francisco, CA, USA and to Victoria, BC, Canada. 8 or higher. md. Retrieving search queries in. I mean apparently u could use the distanceMatrix api simply to get the distance between just 2 points. In the second part, we conduct a very basic linear regression analysis to test if there is a relationship between family size and distances. setKey( key ) Overrides the current google api key. See . responds with HTTP 429). Installation. In the Routing we support. for the N*M matrix case, it's hard to see some use cases. However, the coordinates you are using correspond to the following locations: Origin 42. maps. 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. Distance Matrix API . Is the distance matrix API affordable? Radar is free up to 100,000 requests per month and only $0. Disclaimer: I work at the company that creates this API. Playground Docs. This example requests the distance matrix data between Washington, DC and New York City, NY, in JSON format: Try it! Test this request by entering the URL into your web browser - be sure to replace YOUR_API_KEY with your actual API key . For any information on how to use the API provided by the openrouteservice, refer to the API playground and documentation. The Distance Matrix API is a service offered by that provides travel distance and time for a matrix of origins and destinations. . An endpoint is a specific method within an API that does one action and is located at a specific URL. You can think of distance matrix as a more complex routing API. The features you can find in this project: Display the user current location on map. ndarray. swagger_client. API. However, the distances being returned are way off. The diagonal elements of the matrices A–A and B–B. Here’s the final product from a search: Until next time. 2. Pricing and Plans. See examples of this in the unit tests for Phylo in the Biopython source code. We provide free code samples, developer documentation, and even a lively forum to flatten the learning curve and speed up development cycles. Requires Google Maps API Key. Google Maps feature comparison. Open Source GitHub Sponsors. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects. python distance geolocation geocoder distance-matrix-api travel-distances geocode-api. Distance Matrix (GoogleMaps. The color of the line is set based. Topics Trending. There is support for both the Standard License and Premium/Enterprise License types provided by Google. alteryx open source 1. see the comments for more details . I prefer to call directly the api without wrapper. Fine-tuned controls to reduce latency The new Routes API introduces additional options for improving the performance of your app. Others had many issues. Targomo offers an API where you can send a list of sources and a list of targets as JSON and receive the driving distance (shortest route) or time (fastest route) for each pair. API keys. Address Validation helps us identify and resolve problematic components of the bad addresses, which in turn improves business efficiency. Along with the overall Google Terms of Use,. Hope that helps when you want to display and calculate multiple distances with google maps and the distance matrix api. Learn more about TeamsTravelTime is a way of searching and filtering data using time, not distance. This package is an encapsulation/wrapper made around openrouteservice API for Dart and Flutter projects. 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. 1. You can provide arguments to the distance operation as query. Contribute to devco-zw/google-distance-matrix-api development by creating an account on GitHub. The Google Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations. 98566439999999. Choose "drive", "truck", "bicycle. Try different map styles and colors, generate Leaflet, MapLibre GL, or Open Layers code for the map. This folder is using an authorization helper from collection Google Maps Platform. Path to input file (CSV format) Path to output file. You can optionally: Specify the maximum number of destinations to find for each origin instead of all. Chat with us. Such updates affect the distance matrix, one of the critical datasets used to optimize the VRP problem. With both request types, to create a. Travel Time Matrix (Time Filter) Create a distance matrix with the travel times and distances between thousands of locations in one go. The core and most basic function of our Directions API. This library allows you to obtain the distance and travel times between multiple origins and destinations via various travel methods. The DistanceMatrixApi class is from the dependency which we add above in our app. A directions API finds the best possible route, based on distance or ETA, between any two given points — and then draws that route. 8 or higher. Fork it! Create your feature branch: git checkout -b my-new-feature; Commit your changes: git. I actually used it to generate features in one Kaggle competition — NYC. Click the Select a project button, then select the same project you set up for the Maps JavaScript API and click Open. rows[0]. See Sample requests in the Getting started guide for details. e. The Distance Matrix API will geocode the 12413 and 12211 internally. 0 is the default profile, other values are supplied via --segment-speed-file to osrm-contract Distance Matrix request and responses. maps. Directions API . For server-side use, you can use Java Client, Python Client, Go Client and Node. There is support for both the Standard License and Premium/Enterprise License types provided by Google. The Distance Matrix API is a service offered by that provides travel distance and time for a matrix of origins and destinations. maps. published 1. We hate the idea of private, siloed chat networks and do not want to contribute to the problem. For example given three points A, B, C you would need three arrival searches - one for each point. Maps. The new API key is listed on the Credentials page under API keys. Report an issue; Contribute; StackOverflow; Changelog. If you have a list of addresses to geocode, you can use the Geocode Dataflow API to batch geocode up to 200,000 addresses. 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. 2 and Laravel 5. To do dynamic geocoding, for example, in. When you sign up you get a free standard package for 2 weeks. Detailed pricing. Geocoding included. 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. TravelTime API is more cost-effective than the Google Distance Matrix API for calculating large matrices of travel times at once. Using google Distance matrix API, apply kruskal algorithm to find spanning tree on given cities in python. Note: This is an optional step requiring an API key. After some more digging I found that the API does not support JSONP and that I could use the distance matrix service directly through JavaScript like so: function getDistance () { //Find the distance var distanceService = new google. DistanceMatrixService extracted from open source projects. get_env(:distance_api_matrix, :api_key) is present. You can even use these profiles to optimize routes for delivery bicycles. On the Credentials page, click Create credentials > API key and follow the prompts. The information returned is based on the recommended route between start and end points, as calculated by the DistanceMatrixAPI, and consists of rows containing duration and distance values. Web Service APIs. I want to calculate the overall distance, not displacement. Transactions track API usage and can be billable or non-billable. v4. for "parsed", a parsed R object. Save up to 90% on your distance matrix API cost. lat. ” —Waldo Tobler. Whether it’s a Basic package, a custom-tailored enterprise solution or a high volume requirement, each option includes credits you can spend for our services. 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. While the R package is open source the Distance Matrix API itself is a commercial service, requiring registration in all cases. 2314725 | 53. . To access the Bing Maps REST Services, you create a URL request and then submit the request using HTTP GET or POST protocol . Here are the five simple steps to generate your Google Maps API key: Log in to the Google Cloud Platform Console. For all routes we return elevation, turn-by-turn instructions, geometry, total distance and total estimated time. Introducing DistanceAPI, a versatile API that calculates distances between addresses, postcodes, and cities for airline, car, and maritime routes. Q&A for work. API Playground Log in LOG IN. Become an Enterprise Customer. The new API key is listed on the Credentials page under API keys. DistanceMatrixService class. API Reference¶. Distance Matrix API: Calculates travel distance and time for several destination points: Elevation API: Produces elevation data for any point on the map: Geocoding API: Translates geographic coordinates into actual addresses: Geolocation API: Pinpoints a user’s exact location with impressive accuracy by tapping into Wi-Fi nodes and cellular. published 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). . should be a reasonable starting point for you. Matrix API Isochrone API Geocoding API Frequent data updates. Google Distance Matrix API - Using the service without Google map. Matrix Calculations – provides you with very fast time and distance matrices. After an order is received, our Matrix API can optimize the matching of delivery resources with actual delivery locations at scale. If you have a premium account then you will have the 100k pool free everyday for the distance matrix API. dart open-source geocoding maps api-wrapper api-rest elevation-data isochrones flutter optimizations hacktoberfest pois ors directions-api dart-library openrouteservice. The section shows how to use the Google Distance Matrix API to create the distance matrix for any set of locations defined by addresses, or by latitudes and longitudes. Distance Matrix API: Calculates travel distance and time for several destination points: Elevation API: Produces elevation data for any point on the map:. This. The Bing Maps Distance Matrix API service calculates travel time and distances in various scenarios with an optional travel-time histogram. The openapi field SHOULD be used by tooling to interpret the OpenAPI document. elements[index]. 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. 0 License. Distance matrices can be calculated. rtype. Openstreet Map API. (Open-Source ChatGPT Alternative) How to Validate an Email Address in JavaScript. Install the package using composer: API docs. advanced markers are supported on both raster and vector maps (a map ID is required). 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. There is a public instance at router. 1 = * Fix - Fixed bulk delete table rates checkbox still checked after delete did * Fix - Fixed settings fields added by third-party not visible * Fix - Added missing title attribute fro edit API Key button = 2. M. In this article. Destination 51. 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. From the list of APIs on the Dashboard, look for Geocoding API. 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. For even deeper customization, advanced markers supports the use of custom HTML and CSS, including the ability to create completely custom markers. Google maps must be able to find both the origin and the destination in order for the function to run. 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. The best Distance Matrix API alternative is Google Maps, which is free. Potential applications. Leave the arrival fields open, specify the Destinations layer as the Locations parameter and click “Run. Get a demo Start for free. Search for jobs related to Open source distance matrix api or hire on the world's largest freelancing marketplace with 22m+ jobs. Sign Up. Time-Distance Matrix. You can also get isochrones around the source points and there are some more related APIs. 5. 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. Install the package using composer:Routes API. This package requires PHP 7. 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. Each Google Maps Web Service request requires an API key or client ID. The Bing Maps Distance Matrix API provides travel time and distances for a set of origins and destinations. distance_matrix. To change a quota limit, click the Edit icon for that limit. The photon project is also supported by the GraphHopper. The DistanceMatrixApi class is from the dependency which we add above in our app. 100. GitHub community articles Repositories. 3. ndarray) – For each row in vectors_all, distance from vector_1 is computed, expected shape (num_vectors, dim). Key : Set by default if Application. API Keys. Installation. The exciting part starts here. 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. js Client for Google Maps Services are community-supported client libraries, open sourced under the Apache 2. These are the APIs available in OSRM. 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 APIStep 4: Geocoding a location in Python. get_env(:distance_api_matrix, :api_key) is present. For example, the 12413 will be geocoded to 'Cairo, NY 12413, USA' a postal code in the USA. Starting today, Routes API is now generally available. For reference on concepts repeated across the API, see Glossary of Common Terms and API Elements. 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). npm i. ComputeRouteMatrix supports both streaming gRPC calls and REST HTTP calls. This method makes an API call to the Google Maps Distance Matrix API to calculate the distance and time between two places Lat. The Bing Maps Routing API considers live traffic data and historical traffic data to present the fastest and safest route for users. Add support for. 2 2 years ago. Download them from GitHub, where you can. P. 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. It is highly customizable, performant and written in Java. Add an API key to the demo app. Installation. 9814292,-70. Go to the Google Maps Platform > Credentials page. See Specifying paths for details. Once easily integrated into an app, TravelTime provides the best possible user experience for a location search. The command uses the Open Source Routing Machine (OSRM)and OpenStreetMap to find the optimal route by car, by bicycle, or on foot. routingpy currently includes support for. Get Distance. For 3D applications you can control the altitude at which a marker appears. Open Source GitHub Sponsors. Access the GraphHopper Directions API with a plan that suits you. Distance API, matrix API, and route matching API. 0. 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. home . 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. The command uses the Open Source Routing Machine. Isolines API - returns an area reachable from a location within a given time or distance; it. Such updates affect the distance matrix, one of the critical datasets used to optimize the VRP problem. This is a simple package that allows access to the Google Maps Distance Matrix API using a (mostly) fluent API. Support for multiple modes of travel, including walking, driving, and public transportation, makes the API accessible for a wide range of users. Roads Identify nearby roads using coordinates. 8. Distances greater than 40 km were. As you can see from the following codes, the results getting from Google’s Distance Matrix API is comparable to. Node. 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. 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 The Bing Maps Distance Matrix API calculates distances and travel times between origins and destinations with an optional travel-time histogram. Find the best open-source package for your project with Snyk Open Source Advisor. In Android Studio, choose File -> Open and navigate to the directory and open the folder that you just cloned or downloaded.