Location formula not working

Hi Guys,

Is there someone who is also struggling with the location formula, doesn’t seem to work all of a sudden: Please help if you know what I did wrong…

Thanks in advance for the help

Hi @LoyisoZA,

Can’t check right now in the app - but there is one thing to look at: the format of the numbers in the formula (pen icon to the right of LocationLatitude, etc.). If it’s not “None” maybe this is the issue?

Best,
Victor.

Hi @LoyisoZA

Are you trying to calculate a delivery fee? If so, and you haven’t done it yet, you might want to base it using custom action:

https://maps.googleapis.com/maps/api/distancematrix/json?origins=ORIGINLAT,ORIGINLONG&destinations=DESTLAT,DESTLONG&key=YOUR_API_KEY

This will compute the most efficient travel route in meters and travel duration.

The downside of using the formula in your image is that it only measures the shortest straight-line distance between two points and doesn’t account for the actual road network or terrain features (hills,rivers,etc.). For example, a straight-line distance of 300 meters could end up being a 1-kilometer road journey or more when considering the actual road distance.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.