I am trying to create an app that I can plot multiple latitude and longitude points on map. We are a trucking company and I want to be able to create breadcrumb trails for our trucks. So essentialy in the powerapp, you would enter the truck number and date range and then the powerapp will plot coordinates on a map. Is there any documentation for this or does anyone have a helpful solutions? Thank you very much!
Hi @Anonymous :
Do you want to show multiple points in a Bing map?
The key is using URL.( Get a map with pushpins that does not specify a center point or map area)
I assume that the data structure of your data source is the same as mine.
My data source: truck
ClearCollect(
truck,
{
truckname: "AA",
lat: 39.83,
Long: -100.51
},
{
truckname: "BB",
lat: 45.67,
Long: -122.81
}
)
I’ve made a test for your reference:
Set the image control’s image property to :
"https://dev.virtualearth.net/REST/v1/Imagery/Map/Road?&"
&
Concat(AddColumns(
truck,
"pp",
"pp=" & lat & "," & Long & ";" & 21 & ";" & truckname
),
pp,
"&"
) /*Adjust the data table to the string required by the URL through the combination functions*/
&
"&key=AivzmzqHNnj7ZFj1kBy-y3jwUi47k786wERV8Z-5HN4hnwqRtArHBQnfyjpxnVZV" /*” Aivzmzq……“ is my key*/
I think this link will help you a lot:
Best Regards,
Bof
WarrenBelz
298
Most Valuable Professional
MS.Ragavendar
174
stampcoin
132