Forum Discussion
CindyZ
May 13, 2020Iron Contributor
Troubleshoot Embed Web Part for Locations Bing Maps
I am trying to use the embed webpart to show maps of locations. I'm connected to a list that has the columns of longitude and latitude and they have only numbers in them...i.e. "49.392921". When I select one that I expect to be able to view in the embed web part, all I get is a blue box that shows bing in the bottom left hand corner and the scale -- no content showing at all. Any idea what the problem might be. I copied the below code directly from the Microsoft site and then connected the longitude and latitude so I was sure I was accessing the correct fields. Following is my embed code.
<iframe width="500" height="400" src="https://www.bing.com/maps/embed?h=400&w=500&cp=[$Latitude]]~[$Longitude]]&lvl=13&typ=d&sty=r&src=SHELL&FORM=MBEDV8" frameborder="0" scrolling="no"> </iframe>
Thank you!
CindyZ the embed code I use in my connected Bing map web part works well and is as follows:
<iframe width="560" height="315" src="https://www.bing.com/maps/embed?h=315&w=560&cp=[$Latitude]~[$Longitude]&lvl=13&typ=d&sty=r&src=SHELL&FORM=MBEDV8" frameborder="0" scrolling="no"> </iframe>
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
- RobElliottSilver Contributor
CindyZ the embed code I use in my connected Bing map web part works well and is as follows:
<iframe width="560" height="315" src="https://www.bing.com/maps/embed?h=315&w=560&cp=[$Latitude]~[$Longitude]&lvl=13&typ=d&sty=r&src=SHELL&FORM=MBEDV8" frameborder="0" scrolling="no"> </iframe>
Rob
Los Gallardos
Microsoft Power Automate Community Super User.- CindyZIron Contributor
RobElliott Thanks so much for your quick response. Are you using this along with a linked list web part. That is what I'm trying to do. My longitude and latitude columns each have only number in them as a text field.
I pasted your code and I'm getting the same result as before. It sounds like I may need to put in an internal ticket to see if I can get some help.Sharing your code was really helpful though I've still got issues -- so thanks very much- it is helping to narrow down my issues!
- RobElliottSilver Contributor
CindyZ yes the list is on the page and selecting any village displays - via the 3 connected web parts - a Bing Map, a video from YourTube and a list of restaurants in the village. I built this to demonstrate connected web parts to our staff. My latitude and longitude columns in the list are single of text columns with just the numbers in:
Rob
Los Gallardos
Microsoft Power Automate Community Super User