Hi Experts
Is there a way to display multiple parties travelling to separate locations in bing maps in power apps?
Hi @shemeer ,
For sure this is possible. The interesting part will be how to get your data though. My idea would be to have the tracked parties running a logger app on a mobile device that saves the geolocation of the device on a regular basis, for instance by using a repeating timer and adding something like the below in the OnTimerStart property:
Patch(
UserLocation,
LookUp(
UserLocation,
Email=User().Email
),
{
LastUpdate: Now(),
Lattitude: Location.Latitude,
Longitude: Location.Longitude
}
)
If you have this data saved in a data source, you can then use this in a map control as plot points: https://www.youtube.com/watch?v=iw1ACuJB9cY
Thank you for the reply, Apologies that my question was not specific enough. I have already collected the GPS data from different sources running across the country to different destinations. My issue is displaying this data on a map. I am able to display one gps info and plan route for that vehicle. My problem is that at any time I have more than 2 vehicles running to separate destinations. For example flight A going to New York from uk and flight B going to Australia from UAE at the same time. How could we display both these data in a map separately with route tracking?
Hi @shemeer ,
Perhaps you can describe what the data you have looks like?
In any case this documentation may provide you with further hints on how to proceed:
@BCBuizer , Thank you for for the reply. what I need is to display multiple disconnected routes in the maps
Below is an use case sample (But not in power apps)
https://samples.bingmapsportal.com/directions/display-multiple-routes
I am trying to achieve the above functionality in power apps. If not an Iframe on the power apps portal is fine as well.. If you could guide on that ..
Again Thank you for your time
Hi @shemeer ,
I don't think it is possible to display multiple routes in the native Power Apps map control. The iframe option may indeed be the way to go.
User | Count |
---|---|
126 | |
87 | |
84 | |
75 | |
69 |
User | Count |
---|---|
214 | |
179 | |
139 | |
105 | |
83 |