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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 481

#2
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#3
11manish Profile Picture

11manish 291

Last 30 days Overall leaderboard