Skip to main content
-1 votes
0 answers
41 views

Why Google Map Route API is different from google map?

I request the google route api { "origin":{ "address": "日本福岡國際機場" }, "destination":{ "address": "博多車站" }, "travelMode&...
just_code_dog's user avatar
0 votes
0 answers
28 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 ...
user944184's user avatar
0 votes
1 answer
63 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 ...
Luis Fernando montes blanco's user avatar
1 vote
1 answer
69 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 ...
Darsh Patel's user avatar
0 votes
0 answers
49 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-...
D Yates's user avatar
  • 45
2 votes
1 answer
163 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, ...
Jonathan Wareham's user avatar
1 vote
0 answers
193 views

How To 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 ...
Julius Goddard's user avatar
0 votes
1 answer
94 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 ...
albrivas's user avatar
0 votes
0 answers
93 views

google maps extended library "gmpx-route-data-provider": route format

I'm using googlemaps extended-library-component. I have a map already rendered and I want to add a route polyline with gmpx-route-data-provider and gmpx-route-polyline. How to assemble them is ...
seenmycorpseanywhere's user avatar
0 votes
1 answer
181 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 ...
Guanaco Devs's user avatar
  • 1,914
0 votes
0 answers
178 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
  • 481
2 votes
1 answer
173 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
  • 21
1 vote
0 answers
320 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
112 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
2 votes
1 answer
810 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

15 30 50 per page