cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KickingApps
Skilled Sharer
Skilled Sharer

Multiple pins on map

Curious if there is a solution for showing multiple pins on a Bing map?  If so, would appreciate somebody pointing me in the right direction.

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

HI @KickingApps,

Do you want to display a Bing Map within your app with multiple pushpins?

Currently, there is no direct way to display Bing Map within PowerApps app. As an alternative solution, I think the Image control and Bing Maps Imagery API could achieve your needs.

Please check and see if the following blog would help in your cenario:

https://powerapps.microsoft.com/en-us/blog/image-control-static-maps-api/

 

More details about the Bing Map API to display multiple pushpins, please check the following article:

https://docs.microsoft.com/en-us/bingmaps/rest-services/imagery/get-a-static-map#get-a-map-with-road...

More details about Pushpin Syntax and Icon Style, please check the following article:

https://docs.microsoft.com/en-us/bingmaps/rest-services/common-parameters-and-types/pushpin-syntax-a...

I have made a test on my side, please take a try with the following workaround:13.JPG

Set the Image property of the Image control to following:

"https://dev.virtualearth.net/REST/V1/Imagery/Map/"&drpBingImagerySets.Selected.Value&"/" & EncodeUrl(txtLocation.Text) & "/"& slZoom.Value &"?mapSize=" & txtImageWidth & "," & txtImageHeight & "&pp="&"36.204824,138.25292421;21;First+Point&pp=36.305578,138.306655;21;Second+Point&key="&txtBingMapsKey.Text

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xida-msft
Community Support
Community Support

HI @KickingApps,

Do you want to display a Bing Map within your app with multiple pushpins?

Currently, there is no direct way to display Bing Map within PowerApps app. As an alternative solution, I think the Image control and Bing Maps Imagery API could achieve your needs.

Please check and see if the following blog would help in your cenario:

https://powerapps.microsoft.com/en-us/blog/image-control-static-maps-api/

 

More details about the Bing Map API to display multiple pushpins, please check the following article:

https://docs.microsoft.com/en-us/bingmaps/rest-services/imagery/get-a-static-map#get-a-map-with-road...

More details about Pushpin Syntax and Icon Style, please check the following article:

https://docs.microsoft.com/en-us/bingmaps/rest-services/common-parameters-and-types/pushpin-syntax-a...

I have made a test on my side, please take a try with the following workaround:13.JPG

Set the Image property of the Image control to following:

"https://dev.virtualearth.net/REST/V1/Imagery/Map/"&drpBingImagerySets.Selected.Value&"/" & EncodeUrl(txtLocation.Text) & "/"& slZoom.Value &"?mapSize=" & txtImageWidth & "," & txtImageHeight & "&pp="&"36.204824,138.25292421;21;First+Point&pp=36.305578,138.306655;21;Second+Point&key="&txtBingMapsKey.Text

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,936)