cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Power Apps getting location from latitude and longitude

Hello,

 

I need to get location information according to latitude and longitude values. I tried Bing Map formula but it did not work.

 

Could anybody help me?

 

Thanks in advance.

12 REPLIES 12
dinusc
Microsoft
Microsoft

Hello @Anonymous,

Is this what you're looking for? 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/signals

Anonymous
Not applicable

Hello @dinusc,

 

No, it is not. I have already latitude and longitude values, I want to return my county value(for example, "Bayrampasa") from this latitude and longitude. I tried BingMaps.GetLocationByPoint(Location.Latitude; Location.Longitude).name function, but it did not work.

 

thanks.

Can you please ensure your local device does not block the tracking request? I just tested this in a browser, and if the request is blocked then you can see a small notificaiton in the upper-right corner of the screen (see attached "Location1.png"). If I allow tracking request though, your formula seems to be working fine (see "Location2.png").

I also assume you've set a proper API BingMap key when adding the BingMap connector.

Hello,

 

i am using same formula to get the location but i am gatting error wihile using this formula

 

BingMaps.GetLocationByPoint(Location.Latitude,Location.Longitude).name

 

I am attaching the image of the error I am receiving.

 

Please help me 

 

Thanks

Vaibhav_Shukla
Frequent Visitor

Hello Guys,

 

I have resolved the issue and I want to share my knowledge with you if you are facing the same issue I hope it would help you. So what you have to do that
1. If you are new in BingMap then please create your new account.

2. And then give the API name as per your understanding

3. Then generate the API key.

4. Now connect your App with BingMap connector and add the same API key what earlier you were generated.

5. Add the same formula where you want - BingMaps.GetLocationByPoint(Location.Latitude,Location.Longitude).

I hope i will help you 😊😊

 

Thanks 

Mr. Vibhu Shukla

 

Vaibhav_Shukla
Frequent Visitor

Hi Husss,

 

I hope it will help you

 

1. If you are new in BingMap then please create your new account.

2. And then give the API name as per your understanding

3. Then generate the API key.

4. Now connect your App with BingMap connector and add the same API key what earlier you were generated.

5. Add the same formula where you want - BingMaps.GetLocationByPoint(Location.Latitude,Location.Longitude).

I hope it will help you 😊😊

 

Thanks

Mr. Vibhu Shukla

Anonymous
Not applicable

Hello @Vaibhav_Shukla ,

 

I tried above but getting error

 

BingMaps.GetLocationByPoint failed: The method 'GetLocationByPoint' has an invalid value for parameter 'latitude'

 

The error is intermittent sometimes work sometimes gives error

Morning,

Having the same error. sometimes works sometimes give the error. very annoying.

 

Did you find any solution?

 

Thanks in advance for sharing if any.

 

🙂

 

Regards

Thanks buddy..!

its work for me..

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,423)