cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
daroot
Level 8

GetMap error

Hi All,

Anyone faced the issue BingMap error? I am used UserLat as Latitude and UserLon as Longitude
6 REPLIES 6
Super User
Super User

Re: GetMap error

Hi @daroot

It sounds like the Latitude value that you're passing to GetMap is incorrect. Can you confirm what UserLat and UserLon are? Where are you setting these in your app?

daroot
Level 8

Re: GetMap error

Hi @timl,

I am used this on the view record page within gallery. I put this on the Image control:

BingMaps.GetMap(
"Road",
10,
UserLat, UserLon,
{pushpin:UserLat & "," & UserLon})

The UserLat field is a Lotitude value, and UserLon is a Longitude value. On the PowerApps studio didn't show any errors. Should I changed the UserLat field name to Latitude in SPList?

Thanks for any advice
Super User
Super User

Re: GetMap error

Hi @daroot

I would suggest that you add a label to your screen and set Text property to your formula.

When you run your app, the label should show the actual arguments that you're passing to the GetMap function. This should help you diagnose the problem, or you could post the result here if you're still stuck.

daroot
Level 8

Re: GetMap error

Hi @timl,

 

Tried your suggestion, but the error still exist. Anyway is there any better way to embed imagemap in the app instead used my previous code?

 

Thanks,

Super User
Super User

Re: GetMap error

Hi @daroot

When you added the label, what did the label say when you ran the app?

daroot
Level 8

Re: GetMap error

Hi @timl,

It display the same error, latitude not found Smiley Sad

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Top Community Contributors for September  2019

Top Community Contributors for September 2019 🎉🎉

Let's thank our top community contributors

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 421 members 5,649 guests
Please welcome our newest community members: