Hi all,
Attached is a sample copy of a customizable form I'm doing.
My objective is to calculate the distance between two inputs - Vendor Address and Destination. I understand that this can be done using the BingMap get distance function. However. this will require the data source as BingMap. In this case, my datasource is a form linked to a sharepoint list. How do I achieve my goal?
Thanks,
Alois
PLease let me know how to do the same based on sharepoint List
Thank you so much for the help! How do I postfix the units?
Add BingMaps data source to your app.
In the your SharePoint list form, select data card for Distance control.
In the default & Update property, place the following formula:
BingMaps.GetRoute(tbVendorAddress.Text, tbDestination.Text).travelDistance
If you want the Units of distance as well, then you can postfix the above value with distanceUnit
Give a try and share your results.
Regards
Krishna Rachakonda
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473