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 / BingMaps imagerySet in...
Power Apps
Unanswered

BingMaps imagerySet invalid value

(0) ShareShare
ReportReport
Posted on by

Hi PowerApp champions !

I'm new to powerapps and this is my first project;

I have added a map (via powerApps image control) for site data based on a lat, long and the user can select the imagerySet from a dropdown list.

Even though the app seems to work perfectly, I am getting the following error, not always, but quite often, on the desktop version of my app. I am however able to change the imagerySet via a dropdown successfully. I suspected that perhaps the dropdown's selectedText.Value that i was providing to the Bing API was sometimes either blank or in the wrong format, but I don't know how it can only generate this error sometimes, and always seems to generate the correct map in the app.

BingMaps.GetMapV2 failed: The method 'GetMapV2' has an invalid value for parameter 'imagerySet'

 

NOTE: the error never occurs when on the mobile version which uses exactly the same logic and also never occurs when I'm 'playing' the app from edit mode....so quite confusing for me.

 

Here's the code for the Bing call inside the Image (image property)

 

BingMaps.GetMapV2(DD_imagerySet.SelectedText.Value, SliderZoom.Value, ThisItem.Latitude, ThisItem.Longitude,{pushpinLatitude:ThisItem.Latitude,pushpinLongitude:ThisItem.Longitude, pushpinIconStyle:"65", pushpinLabel:ThisItem.NCSB_Site_ID})

 

This is the Items property for the dropdown list that the user can select;

["CanvasLight","AerialWithLabelsOnDemand","RoadOnDemand","CanvasDark","CanvasGray"]

 

If this cannot be solved is there any way to suppress the error ?

 

Any help or hints would be greatly appreciated

Categories:
I have the same question (0)
  • lolbeat Profile Picture
    on at

    Sorry, of course 'DD_imagerySet' is the name of the dropdown component being used to select the imageryset by the user

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 308

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard