Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hello Expert,
I want display the truck route on the truckmash map.
Then I need to use the RouteData, I don't know how to use it.
Please help me!!
Solved! Go to Solution.
You can also use Route (instead of Planned Route) and correspondingly set Show Route property as true.
And set RouteLocationField property as the location from the dropdown.
The binding will be something like:
Hi Ji young Lee,
The data should be in the Infotable format with one column as Type location.
Bind it with Google map widget and select Planned Route.
Also, select the showPlanned Route as true.
Save and view mashup.
Do let me know if you face any issue.
Thanks,
Ankit Gupta
Hello Ankit Gupta
Thank you for your answer.
But I don't know where do this thing -> Bind it with Google map widget and select Planned Route.
I tried to bind Getproperties - trackLocation to map widget
Hi Ji young Lee,
You are using a location Property which is a single location data. To show Route we need array of location data.
As I mentioned; we need a property with infotable type with one column as location.
Infotable is like a table in database.
Are you logging these properties in a valueStream.
If yes, you can use QueryPropertyHistory to get the history of Truck location in form of a infotable.
When you will try to bind an infotable to the map; you will see the option for Planned Route.
You can also use Route (instead of Planned Route) and correspondingly set Show Route property as true.
And set RouteLocationField property as the location from the dropdown.
The binding will be something like: