Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
30 views

fetch google maps distance matrix not working on android

I'm trying to retrieve distance information between two locations. informations like time, value e.t.c. this works while texting on iPhone but on android it returns undefined. I've tried two ...
Eric Uche's user avatar
  • 147
0 votes
0 answers
56 views

Is there a way to limit Google API calls after they exceed a certain number?

I am having a problem with some spam bots hitting my google api - distance matrix API and Geocoding API. They are using up all my quoat with spam. Is there a way to limit these to be disabled for an ...
Dave Fogel's user avatar
0 votes
1 answer
46 views

Distance Matrix of 7,000 points

I need to optimize routes to visit 7,000 points (~700 routes). Should I calculate a Distance Matrix of size 7000 X 7000 = 49,000,000 options? That means I would receive a Google invoice of ~0.005*49M =...
ZetesIL Dev's user avatar
0 votes
0 answers
35 views

Google API distancematrix returns an empty value

I am developing a PHP application to calculate the distance between 2 locations. This is the code: $GOOGLE_API_KEY = <MYAPIKEY> $wayFrom = urlencode($wayFrom); $wayTo = urldecode($wayTo); $url =...
Zeno's user avatar
  • 65
0 votes
1 answer
36 views

On what is the 'recommended' route based that the Google Distance Matrix API returns distance and travel time for?

We offer customers the option of calculating the distance between to Dutch addresses for things like travel expenses. One of the options we offer is the Google Distance Matrix where they enter two ...
Marco Hokke's user avatar
0 votes
0 answers
49 views

Python Google Maps API KeyError: 'distance' when calculating distances between suppliers and destinations

I've been struggling with an issue while using the Google Maps API to calculate distances between multiple origin and destination points from .cvs coordinates data source files. This is my first time ...
Fernando Flores's user avatar
-1 votes
1 answer
93 views

Google Maps Distance Matrix API returing empty "destination_addresses" and no distance data

I've got a list of addresses without city or zip, but in the vicinity of another address. The Google Distance Matrix API is generally able to infer the locale of the destination address from that of ...
NewSites's user avatar
  • 1,789
-1 votes
1 answer
426 views

Google Distance Matrix API for two-wheel

I am trying to get the time it takes to get from place A to place B, using several mode of transportation: four-wheel, two-wheel, bicycle, and walk. I am stumbled upon the google distance matrix API ...
Steven Christian's user avatar
-1 votes
2 answers
176 views

Getting error: "o.map is not a function" when using google maps distance matrix api in Node.js

I'm using the Google Maps API Node Client and calling the distancematrix function, but I'm getting an error that says o.map is not a function. const {Client} = require("@googlemaps/google-maps-...
Brian Zhou's user avatar
0 votes
1 answer
175 views

Google Distance API Invalid Key

I'm just starting to use Google Maps APIs and I'm having some trouble when attempting to send a request via Postman to [https://maps.googleapis.com/maps/api/distancematrix?<params>&key="...
Jeff Bryant's user avatar
1 vote
1 answer
75 views

How to pick specific elements from a jsondecode in flutter

I am planning to take distance and time from a JSON list provided by google distance API however I have no idea how to specifically take the elements, here's the code I use to get the json Future<...
Flutter Beginner's user avatar
1 vote
1 answer
229 views

Google distance matrix api quota behaves unreliable

I'm talking specifically about the quota of type elements per minute per user. I set this value to 150. The documentation says number of elements is origins x destinations. This is how I call the api: ...
Wipster's user avatar
  • 1,570
1 vote
0 answers
132 views

How can you get journey time volatility info from Google Maps Platform APIs?

In the google maps user-facing client, you can get ranges on a route's time (e.g. a planned route from London to Edinburgh shows "typically 6 hr 50 min to 8 hr 50 min, Arrive at about 10:30 PM&...
Spycho's user avatar
  • 7,788
0 votes
0 answers
144 views

How to parse Distance Matrix in JS to only get the distance and the duration?

I have been trying to only get the distance and duration using the Google Distance Matrix API. I tried and built and modified as I logically could but nothing. I even slice the response because I did ...
John Christ BOUMA's user avatar
0 votes
1 answer
341 views

Cities missing in Google Maps API distance matrix

I have been using the Google Maps API's distance matrix. However, this seems to not be working for some cities and I'd need your help to figure out why / what I'm doing wrong. Here's what I'm typing ...
Thomas Gonda's user avatar

15 30 50 per page
1
2 3 4 5
27