cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hpkeong
Level 10

Location.Latitude & Longitude issues

Hi PG

 

Recently I started to use Location as Vehicle Tracking.

However, the Location.Lat and Location.Lon is not Changing the value.

It changes only when I close the apps and re-open (from menu) and it will refresh.

 

My Location is ON all the time and previously it works well.

May I know if there is any problem to the codes?

 

I am just having a:

- TexBox1.Text = Locaiton.Latitude and

- TexBox1.Text = Locaiton.Longitude

 

Just wonder what went wrongf.

hpkeong
4 REPLIES 4
Community Support Team
Community Support Team

Re: Location.Latitude & Longitude issues

Hi Hpkeong,

 

When we use Location signal to get the location information, as the location changes, dependencies on the location will continuously recalculate. So the value of Location.Latitude and Location.Longitude should also be changed when your device moving.

 

I will try to involve someone who are familiar with this issue to take a further investigation on it.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
hpkeong
Level 10

Re: Location.Latitude & Longitude issues

Hi

Thanks.
On SP4, changed rarely.
I asked my son to test for me lately and he got it done.
I am asking friend to test on other different phone, android, iPhone..

Hope it is intermittent problem or phone problem.
Once again, appreciate your help.
hpkeong
LenLin
Level: Power Up

Re: Location.Latitude & Longitude issues

Hi Team,

 

I am also testing the geolocation setting on powerapps, and it did not auto-update the geolocation except when I reopen the apps.

Is this problem solved or there is workaround? Thanks.

 

Regards,

Len

sdela
Level: Powered On

Re: Location.Latitude & Longitude issues

Hi,

 

I'm currently having the same problem on android. It seems to work on iOS but not on android. Any workaround for this? I've tried using a timer with Enable(Location), but the only way to get the location to update seems to be closing the app and reopening, switching screens, pressing buttons etc. don't trigger an update.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,084)