cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sajarac
Super User
Super User

Bing Maps and multiple pushpins

Hello there, 

Question for a Bing Map guru.

 

I would like to add a function to my app. I want to take advantage of my phone GPS and show my current location, and at the same time based in a list of values that came from a collection plot those locations in the same map. Something like "Customers around me"

 

Is this possible?

 

No worries for the blue line, I am only interested in see the locations around me from my collection.

 

And also no worries for the static map. I think that I can control the map size with an slider.

 

sajarac_0-1622146381783.png

 

Thanks in advance for point me in the right direction.

 

Regards

 

4 REPLIES 4
CNT
Super User
Super User

@sajarac before you get started with Bing Maps just wanted to confirm that you have an API Key.

CNT_0-1622147361318.png

 

sajarac
Super User
Super User

Yes,  I do have an API Key

@sajarac For sure I'm not a Bing Map guru. To the best of my knowledge, the Bing Connector allows only one push pin. But you can do a workaround (a bit of work, I would say). First you'll need the iFrame PCF component. Please look at this video from April, https://www.youtube.com/watch?v=reWFYrON_rE

Once you have the iFrame, you can pull Bing Map into it  using the following URL (an example),

https://dev.virtualearth.net/REST/v1/Imagery/Map/AerialWithLabels?pp=40.804000,-74.464460;;1&pp=40.815180,-74.219250;;2&pp=40.881210,-74.168020;;3&pp=40.810830,-74.260250;;4&pp=40.851800,-74.299900;;5&key={BingMapsAPIKey}

where ;;numberpp= are the various pin points with their longi and lati values.

 

Hope this helps!

 

RezaDorrani
Dual Super User
Dual Super User

Hi @sajarac Check out this bing maps component which uses the pushpin concept of bing maps https://youtu.be/bUO9QxKhe6U

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (3,213)