
Announcements
I am trying to create a calculate mileage option in my power app utilizing Bing Maps. My current expression goes as follow:
Set(
mileage,
BingMaps.GetRouteV3(
'Map.RouteTravelMode'.Car,
Label3.Text,
Label3_1.Text
)
)
However, every time I try to run this, I get the following error:
I can see that the issue is with the travel mode, but I cannot find any additional documentation on what I might be doing wrong.
Set(
mileage,
BingMaps.GetRouteV3(
"Driving",
Label3.Text,
Label3_1.Text,
{distanceUnit:"Mile"}
)
)