Google Distance Matrix API

Stable version 2.1.0 (Compatible with OutSystems 11)
Other versions available for 10 and Older
Published on 02 November 2018 by 
 (5 ratings)

Google Distance Matrix API

The Google Maps Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations.
Read more

You will need to create a Google API key and enter it into the GoogleAPIKey Site Properties attribute.

This API gives you the distance to the destination address given the origin address as reference point. Multiple addresses can be passed as origin addresses as well as destination addresses. The addresses can be in string or coordinate format. Use the pipe "|" delimiter when using multiple values. See the Google API documentation for more information

Some values are currently set as default, such as the transport mode ("driving") and units ("metric"), but you are welcome to help built this module out to include all possible Actions to interact with the Distance Matrix API.

What’s new (2.1.0)

Converted to Service Module

Removed unused code as suggested by Tiago

Published as .oap file as suggested by Tiago

Reviews (1)
in version 2.1.0
A well written and summarized topic. But as google prices have went uphill since 2019. I suggest going with DistanceMatrixAPI  (link: they are a reliable alternative to the Google distance matrix api at a fraction of the price.
More from