Search results
4 dni temu · The Distance Matrix API provides information based on the recommended route between start and end points. You can request these kinds of distance data: Distance for a selected travel mode;...
- Policies
You can display Distance Matrix API results on a Google Map,...
- Client Libraries
The Java Client, Python Client, Go Client and Node.js Client...
- Use API Keys
Google Maps Platform products are secured from unauthorized...
- Get Started
Test this request by entering the URL into your web browser...
- Policies
4 dni temu · DistanceMatrixRequest interface. A distance matrix query sent by the DistanceMatrixService containing arrays of origin and destination locations, and various options for computing metrics. An array...
4 dni temu · Web. Maps JavaScript API. Samples. Distance Matrix Service. bookmark_border. This example demonstrates the use of the DistanceMatrixService object to fetch the distances between a set of...
5 dni temu · You can have the Routes API optimize the provided route by rearranging stops in a more efficient order. Waypoint optimization optimizes for travel time but also considers other factors such as...
4 dni temu · To calculate a route, you must specify at a minimum the locations of the route origin and route destination. You define these locations as waypoints on the route. In addition to origin and...
5 dni temu · Calculating toll fees example. The following example uses the computeRouteMatrix method to return toll information on a route with an estimated price when a toll pass is used. This feature is enabled with the routes.travelAdvisory.tollInfo field mask specified in the request. The toll pass is specified in the route_modifiers field. The toll price returned is based on the pricing used by the ...
4 dni temu · A polygon (like a polyline) defines a series of connected coordinates in an ordered sequence. Additionally, polygons form a closed loop and define a filled region. See the samples in the developer's guide, starting with a simple polygon, a polygon with a hole, and more.