web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Apps - Building Power Apps
Answered

get gps coordinates

Like (0) ShareShare
ReportReport
Posted on 17 Dec 2018 19:06:13 by 58

i need to have a button when press ill get the gps coordinates in a datacard text input

 

can you hel please ?

  • Verified answer
    Community Power Platform Member Profile Picture
    on 18 Dec 2018 at 16:18:02
    Re: get gps coordinates

    Set a button with variables:

     

    UpdateContext({var_currentLat: Location.Latitude})
    ;;
    UpdateContext({var_currentLong: Location.Longitude})

     

    And a label text property :

     

    "Latitude: " & var_currentLat & " Long" & var_currentLong

     

    Press the button see if it works

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete
Loading complete