I created an APP by using dynamics crm data.I can see "Work Order" in BrowseGallery1 in Screen2.I have latitude and longitude of per work order.I want to show all work orders in BrowseGallery1 on one map.How can I achieve this?
Do you want to display your work orders within a map based on the specific latitude and longitude?
If you want to display your work orders within a map based on the specific latitude and longitude, I think the Image control and the Bing Maps or Google Maps API could achieve your needs.
More details about displaying a map using Image control within PowerApps, please check the following blog:
On your side, you could consider take a try to add a Image control within your Gallery, then set the Image property of the Image control to following:
Bing Maps API:
"https://dev.virtualearth.net/REST/V1/Imagery/Map/"&drpBingImagerySets.Selected.Value&"/" & EncodeUrl(ThisItem.Latitude & ","& ThisItem.Longitude) & "/15?mapSize=" & txtImageWidth & "," & txtImageHeight & "&pp=" & txtLocation.Text & ";21;I+am+here&key="&txtBingMapsKey.Text
Google Maps API:
"https://maps.googleapis.com/maps/api/staticmap?center=" & EncodeUrl(ThisItem.Latitude & ","& ThisItem.Longitude) & "&zoom=15&size=" & txtImageWidth & "x" & txtImageHeight & "&maptype=" & drpGoogleMaptypes.Selected.Value & "&markers=color:blue%7Clabel:M%7C"& EncodeUrl(txtLocation.Text)& "&key="&txtGoogleMapsKey.Text
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand