How to calculate the distance between two adress directly in server action

Hey Morgan

You can use the Api action, check this topic from Max

Please note that too many request can means a lot of charges due to the cost of the maps api usage, check the google docs and be sure to use it wisely.

Hi Brian!

I remember trying something that you’ve mention in a post from years ago, but no luck, still working? Never got it running :frowning_face:

I gues this is the best approach as you can avoid the cost of the api