hi,
i am trying to automate the claim expenses submission which 1 part measure the travel distance. i would like to auto calculate the distance like how google map does?
any tips for me?
hi @SudeepGhatakNZ i will explore & revert back to your suggestion ye. Thank you.
@n6wa1k1on6 ,You could use the Google/Bing API via an HTTP post action.
Google: Distance Matrix API overview | Google for Developers
Bing: Calculate a Distance Matrix - Bing Maps | Microsoft Learn
https://maps.googleapis.com/maps/api/distancematrix/json
?destinations=New%20York%20City%2C%20NY
&origins=Washington%2C%20DC%7CBoston
&units=imperial
&key=YOUR_API_KEY
https://dev.virtualearth.net/REST/v1/Routes/DistanceMatrix?origins={lat0,long0;lat1,lon1;latM,lonM}&destinations={lat0,lon0;lat1,lon1;latN,longN}&travelMode={travelMode}&startTime={startTime}&timeUnit={timeUnit}&key={BingMapsKey}