I have 1000 or so points on a map, (I have GPS coordinates. I would like to use google maps to find the shortest distance using roads, between pairs of points. I would like to measure all pairs within a distance of 100km. Is this possible?

  • 1
    Using the distance matrix service this will be possible. Do you mean all pairs within 100km as the crow flies or as the car drives? Are you prepared to write some Javascript? Also, have you actually tried anything? Jan 13, 2015 at 13:36

1 Answer 1


It is possible, but you may run against usage limits:

Users of the free API:
100 elements per query.
100 elements per 10 seconds.
2 500 elements per 24 hour period.

Read more at:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.