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 / How to open the google...
Power Apps
Answered

How to open the google map based on Latitude and Longitude info on the display form

(0) ShareShare
ReportReport
Posted on by 2

I have a display form which has a several field data which is displaying and a button on the screen, want to open the google map based on the value of the text displayed as below :

 

Launch("http://maps.google.com/?q="&EncodeUrl("Value(DataCardValue16.Text)) , Value(DataCardValue18.Text))"))

 

It open the map but does not collect the value DataCardValue16.Text for latitude and Value(DataCardValue18.Text) for longitude.

 

Pls. guide

 

 

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @MIA27,

     

    If the lat and long are correctly entered by the user, you can actually just add them as text (no EncodeURL or value needed).

    In your case it would look as follows:

    Launch($"https://maps.google.com/?q={DataCardValue16.Text},{DataCardValue18.Text}");

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

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 977

#2
Valantis Profile Picture

Valantis 664

#3
11manish Profile Picture

11manish 530

Last 30 days Overall leaderboard