I just discover PowerApps and i want to know if it s possible to make an app for calculate distance between two adresses. i want my user can have a file where all professionnal car ride can be save per month for each month.
Example :
- User enter the date of path
- User type city 1 to city 2 API (if i can have some predictive adresse like Waze or other GPS apps it s better)
- API calculate kilometer for ride car between 2 points
- Then save the result into a file where title is username and month = User1August2017
- in this file i can have all the drive path of the august month and a formula can calculate with a ratio the fee to refund for my employee.
You can use the Bing Maps connector to calculate a distance between two cities:
Once you have that connection added, you can use the GetRoute function to calculate the distance between two addresses. For example, in a button you can have the following formula on its OnSelect property:
Set(dist, BingMaps.GetRoute("San Francisco, CA", "Los Angeles, CA"))
And after clicking the button you can get the distance by accessing the properties in the dist variable, for example, in the Text property of a label:
"Distance: " & dist.travelDistance & " " & dist.distanceUnit
WarrenBelz
367
Most Valuable Professional
MS.Ragavendar
193
stampcoin
147