Google Maps API Distance Duration

Hi, so im trying to calculate the distance between 2 locations using the Google Maps Distance/Duration API. I need the result to be in a text or input box. How to i get it to give the data as text or a number? im getting the error of “dynamic data must be printable as text but is instead Distance/Duration”

1 Like

Exact same problem here

hi, i found a solution, the api key was in the wrong place!

Google Maps API - Distance & Duration’s add rows’s elementos distance value:first item

distance text is for display

Had the same problem here too… how did you fix it?