cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
admin5434
Level: Powered On

Bing Maps Connector - Error with Getmaps (shared connector)

I'm having some issues with the Bing Maps connector.
I've created an app where users input address, zip and city (in separate controls). They then click a button and the connector should return the map image.

This is the code:

Set(varLocation, BingMaps.GetLocationByAddress({addressLine: DataCardValue36.Text,postalCode: DataCardValue37.Text,localitySmiley Very HappyataCardValue38.Text}));
Set(varMap, BingMaps.GetMap("Road","15",varLocation.point.coordinates.latitude,varLocation.point.coordinates.longitude,{pushpin:varLocation.point.coordinates.combined,mapSize:"335,280"}));

Everything works on my user, but for all other users, they get the following error:

Capture.PNG

Any tips on what to do to fix this?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Bing Maps Connector - Error with Getmaps (shared connector)

Hi @admin5434,

 

Which articcle you have followed to implement the Bing map connector?

Is it the following one?

Displaying a Map using an Image control in PowerApps and Bing Maps or Google Maps API

 

Just from your error message, it seems the bing Map connector is using the same Key for different users.

Share App resources

For custom connectors,

"

When you share an app that uses a custom connector, it is automatically shared, but users must create their own connections to it.

On powerapps.com, you can view or update permissions for a custom connector. In the left navigation bar, click or tap Manage, click or tap Connections, and then click or tap New connection (in the upper-right corner). Click or tap Custom, and then click or tap a custom connector to display details about it.

"

Which I think should be the cause here.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
admin5434
Level: Powered On

Re: Bing Maps Connector - Error with Getmaps (shared connector)

I wasn't using a custom connector, but the preview connector available natively in Powerapps:

Capture.PNG

Which again is documented here: https://docs.microsoft.com/en-us/connectors/bingmaps/

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

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

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 46 members 3,937 guests
Please welcome our newest community members: