cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

SharePoint List with Location Details - into BingMap or Google Map

Hi,

 

I've been searching all over the place to find a guide on this i can't seem to find any help on it.

 

I have a sharepoint list of different hotel venues across the UK, this is showing in a gallery in my powerapp, what i'm trying to get to, is when the user clicks through to see more details about the venue, the venue is plotted on a map. I have tried all sorted of different code options, using the BingMap.Getmapv2 and Bingmap.getfromaddress . i have manually entered the address details in the sharepoint list, and also used the location column that generates all the data automatically. 

 

None of these seem to plot the correct position on the map, it keeps just plotting it in the middle of the ocean. No matter what i try. I get errors in the code such as expecting a table, or invalid data in latitude. 

 

Is there any clear guide on how to do the above, it seems like it should be a simple process, seeing as i have all the address details, i just can't get this linking with the map item. 

 

Any help would be great.


Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @mousman85 ,

 

For further diagnosis, please share the formula you used to display the map. In my test, the location can be displayed well in the map, here is my test formula, please make sure the latitude and longitude are all correct. For more information: Get static map 

BingMaps.GetMapV2("Road",15,"47.64054","-122.12934",{pushpinLatitude:"47.64054",pushpinLongitude:-122.12934,pushpinLabel:"P1",pushpinIconStyle:59})

Snipaste_2020-09-28_15-34-18.png

Hope this helps.

Sik

 

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Hi @mousman85 ,

 

For further diagnosis, please share the formula you used to display the map. In my test, the location can be displayed well in the map, here is my test formula, please make sure the latitude and longitude are all correct. For more information: Get static map 

BingMaps.GetMapV2("Road",15,"47.64054","-122.12934",{pushpinLatitude:"47.64054",pushpinLongitude:-122.12934,pushpinLabel:"P1",pushpinIconStyle:59})

Snipaste_2020-09-28_15-34-18.png

Hope this helps.

Sik

 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (1,886)