Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [google-routes-api]

Routes API is the next generation, performance optimized version of the existing Directions API and Distance Matrix API.

google-routes-api
-2 votes
0 answers
29 views

Optimize the order of stops on route - Google maps API

https://developers.google.com/maps/documentation/routes/opt-way curl -X POST -H 'content-type: application/json' -d ' { "origin": { "address": "Adelaide,SA" }, &...
Dileepa Mabulage's user avatar
-1 votes
1 answer
33 views

Guidance required with Python VRP Time Window Problem (using Google OR Tools)

I'm trying to solve the Vehicle Route Optimisation with Time Window constraints using Google's OR Tools in Python. The problem here I'm solving is - I want to deliver packages to the customer, where ...
paresh patil's user avatar
0 votes
0 answers
66 views

Google Routes API - Field mask results in empty response

I'm trying to make a POST request to https://routes.googleapis.com/directions/v2:computeRoutes with a field mask like in the documentation to only get the data I need. It works well with most fields, ...
Joe's user avatar
  • 461
1 vote
0 answers
28 views

Is there a way to solve the Vehicle Routing Problem (VRP) using ComputeRoutes API?

I want to solve the issue of the Vehicle Routing Problem (VRP) using ComputeRoutes google API (API), as it is more clear and supports nodejs. I have already create the function with ComputeRoutes, the ...
Julian's user avatar
  • 11
0 votes
0 answers
59 views

Google Route Optimization API - how to construct header for POST request without OAuth? Need route optimization 25+ stops

My organization was using the Google Directions API for route optimization, but we migrated to the Routes API because initial documentation suggested it would allow us to optimize routes with 25+ ...
Anne Stine's user avatar
0 votes
0 answers
50 views

google api -Distance matrix API Billing with SKU

I am trying to manage google api billing for distancematrix - route api. I am wondering that after my free trial can i be able to get 200$ as free credit? I mean I will try to improve a porject to get ...
Allianz Awp's user avatar
1 vote
2 answers
192 views

Waypoint Optimization: Routes API vs Route Optimization API

I understand both Google Maps Routes API and the (newly-launched) Route Optimization API will return the best possible route through multiple stops. Route Optimization API seems like it can handle ...
Avnish 's user avatar
0 votes
1 answer
67 views

Google Routes API in .NET Suddenly started returning empty

Up until recently, the following code was working and returned Travel Routes from the routing API. string routesAPIurl = "https://routes.googleapis.com/directions/v2:computeRoutes"; ...
Ash's user avatar
  • 27
0 votes
0 answers
53 views

How to use Google ADC in Android Studio?

( ADC : https://cloud.google.com/docs/authentication/provide-credentials-adc#how-to ) I want to use Application Default Credentials (ADC) in Android Studio, No,1. I created a project in google cloud ...
Hihellooo's user avatar
2 votes
1 answer
316 views

Using new google routes api - how can I render (show) route result to a map?

Using "old" google directions api we had directionsService for encapsulating rest query & directionsRenderer to show results to the map. Directions API example for javascript: // 1. ...
ishubin's user avatar
  • 341
1 vote
0 answers
272 views

Google Maps computeRoutes Polyline Decode using Flutter/Dart

I'm attempting to extract routes from the computeRoutes method from the Google Maps API (https://developers.google.com/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes). I'm able to ...
alwaysJuniorDev's user avatar
1 vote
1 answer
280 views

Google Directions Api Problem on optimisation

i am using directions api with some waypoints. the thing is that its not optimized, it goes with the order of my array and not with the most efficient order. i dont want the order of my array to take ...
vasilis tertylinis's user avatar
0 votes
1 answer
250 views

Setting up Google Routes API

I am struggling to set-up a HTTP request for the Google routes API and was wondering if anyone could provide me with an example HTTP request that I could try. Tried various HTTP requests expecting the ...
Kieran Andrews's user avatar
0 votes
0 answers
120 views

Issue with outputting tolls using Google routes API

I am able to get toll information correctly using Google routes API when running the code on localhost. Response on localhost: {'routes': [{'legs': [{'travelAdvisory': {'tollInfo': {'estimatedPrice': [...
VTK's user avatar
  • 1
0 votes
0 answers
79 views

Usage tracking per channel

According to this page https://developers.google.com/maps/reporting-and-monitoring/reporting?hl=en#usage-tracking-per-channel there is opportunity to use param channel for tracking usage of api. How I ...
Андрей Семёнов's user avatar

15 30 50 per page