30 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
80
views
Google Maps Platform computeRoutes Method X-Goog-FieldMask filters ignoring explicitly selected fields
I am trying to make filters for the data returned by the Google Maps Platform Compute Routes API documented here but adding selections for any fields that have latitude and longitude data ignores ...
1
vote
1
answer
376
views
Google Navigation SDK (Android): setDestinations(..., CustomRoutesOptions(routeToken)) still takes fastest route instead of my chosen route
I’m using the Google Navigation SDK for Android together with the Routes API - directions/v2:computeRoutes.
From computeRoutes I get two routes: the default one and an alternate. I want to navigate ...
0
votes
1
answer
142
views
How to authenticate with Google Routes API
I'm attempting to use the Google Routes Api through their client library in C#. They show sample code:
public async Task ComputeRoutesRequestObjectAsync()
{
// Create client
...
0
votes
1
answer
185
views
Why Google Map Route API is different from google map?
I request the google route api
{
"origin":{
"address": "日本福岡國際機場"
},
"destination":{
"address": "博多車站"
},
"travelMode&...
0
votes
0
answers
168
views
Google's Distance Matrix API vs Routes API
I have an app that uses the Distance Matrix API. The origin and destination inputs that I give it are simple strings like "shibuya" and "harajuku". It returns the formatted address ...
0
votes
1
answer
115
views
route optimization api shipmentIndex undefined
I'm using the Route Optimization API, but I'm noticing that I'm not getting all my points and that the missing delivery doesn't have a shipmentIndex.
import { NextResponse } from 'next/server';
import ...
1
vote
1
answer
128
views
How to set minimum-maximum load constraint in Google Route Optimization API
I'm using Google RO API to create clusters. There is a capacity constraint on the clusters and the clusters should not overlap with each other. To do this, I've set the load demand of each shipment to ...
0
votes
0
answers
93
views
Why is API key not being recognized?
Google Maps discontinued Directions and DistanceMatrix a couple of weeks ago and I am trying to adapt CURL code in PHP to switch over to the Routes API. There does not seem to yet be any handy pre-...
2
votes
1
answer
278
views
Google Routes API - Get leg startLocation / endLocation as address name
I'm migrating from Google Directions API to Routes API, and I've noticed that the leg objects returned in Routes API only include the latitude/longitude of the start/end location. In Directions API, ...
1
vote
0
answers
280
views
How can I Send A Request to Google Routes API on the Client Side?
On 1 March 2025, support for Google Directions API will be discontinued in favour of Routes API.
Currently, on all my projects, requests for Routes on Google Directions API are made on the client side ...
0
votes
1
answer
194
views
API_KEY_ANDROID_APP_BLOCKED - Routes API
I'm having problems with the Routes API. The ApiKey is restricted so that only my application can use it. I'm using retrofit to make a request but I'm getting a 403 error all the time.
I've tried ...
0
votes
1
answer
237
views
How to serialize a ComputeRoutesResponse
When using the web endpoint with python requests for computing Routes with Google Cloud, https://routes.googleapis.com/directions/v2:computeRoutes, I get the response in json.
This is how I build the ...
0
votes
0
answers
232
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, ...
2
votes
1
answer
212
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 ...
1
vote
0
answers
429
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+ ...