Here’s a cool tip to calculate the distance between two places without relying on premium services like Google or Bing maps.
We’ll be using the Haversine formula for this, and the best part is, you can find a ready-to-use code snippet right here: https://github.com/MarceLehmann/CodeSnippets/blob/main/CalculateDistance.json π
π To make it work for you, all you have to do is replace the latitude and longitude values for locations A and B. You can even level up your game by using the location function in PowerApps to fetch coordinates automatically! π
π§ So, give this nifty trick a try and enjoy calculating distances like a pro, without spending a dime on premium services!
If you want to see the overview above all #PowerPlatformTip βΒ click here
Leave a Reply