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 / Power app map routing
Power Apps
Answered

Power app map routing

(1) ShareShare
ReportReport
Posted on by 6

Hi, I followed Matthew Devaney's instructions for power app map routing but having some issues with specific lines.

Show A Route On A Power Apps Map (matthewdevaney.com)

 

Is there someone experienced it too?

 

 

error.png
Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @MashiiiiF 

    I test it in my side , it can work good. First you need to check if your control name is the same in Power App:

    vyueyunmsft_0-1715656884835.png

     

    And this is my Map control property:

    vyueyunmsft_1-1715657015301.png

     

    Table(
        {
            Name: add_StartLocation.UserInput,
            Latitude: add_StartLocation.SelectedLatitude,
            Longitude: add_StartLocation.SelectedLongitude
        },
        {
            Name: add_EndLocation.UserInput,
            Latitude: add_EndLocation.SelectedLatitude,
            Longitude: add_EndLocation.SelectedLongitude
        }
    )

     

    "Latitude"
    "Longitude"

     

    The add_StartLocation and add_EndLocation are the control name of the Address input Control.

    The map_Routes  is the control name of the Map control.

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

     

  • MashiiiiF Profile Picture
    6 on at

    the culprit, after getting to know what really stops the code! 

    "The map_Routes  is the control name of the Map control."

     

    Thanks a lot! @v-yueyun-msft Appreciate the help! 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard