web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Use BingMaps to get di...
Power Apps
Answered

Use BingMaps to get directions

(0) ShareShare
ReportReport
Posted on by

In Powerapps, how can I use the BingMaps connector to get detailed directions from one postcode to another eg turn left onto the A406?

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    If you use the Bing Maps GetRoute method, it returns a response that includes the routeLegs data. This is detailed information, including turn by turn descriptors, of the route between the two points.

     

    Hope that helps,

    Bryan

  • AlHal2 Profile Picture
    on at

    When I try to bind a text box to routeLegs it says Expected text value.  Should I be using something other than a text box to display the route?

    When I set a textbox inside a Gallery to ThisItem.Route.description it says a3, A219.  How do I get a more meaningful route?  The A3 and A219 are roads, but I need more detail than this.

     

  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    It looks like the standard connector does not access the full set of nested records in the JSON response. The turn-by-turn directions are there, but buried under routeLegs and a further level called itineraryItems.

     

    You might be better off using Power Automate to pull the full JSON response into a record - see this post.

     

    Bryan

  • AlHal2 Profile Picture
    on at

    Thanks I got it working in Flow.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard