Skip to main content
1-Visitor
August 26, 2016
Question

How to display a path(from origin to destination) of the gps location of a moving android device

  • August 26, 2016
  • 1 reply
  • 4343 views

I am able to display the changing location of an android device but I can't keep a track of the path from previous to next location.

1 reply

5-Regular Member
August 26, 2016

Hi Priyanshi, i am assuming you are attempting to show path between two markers on Google Map Widget, is this correct? Google Map Widget has a property called ShowPathBetweenMarkers - trythe Google Map Widget doc for more detail.

Let us know if you have something different in mind.

psaxena1-VisitorAuthor
1-Visitor
August 26, 2016

I have enabled this marker for google map widget,still it is not showing.I want to show the complete track from origin to next destination till the path ends.

5-Regular Member
August 26, 2016

Do you mean something like this? I can log the path using the same property as I mentioned above - hope you have the start and the end markers enabled on the map. Would you mind sharing how does it looks like for you right now on the map once you enable the ShowPathBetweenMarkers ?

BTW, if you are streaming this this GPS location via a Value Stream you can also consider using the RouteData property - simply bind the service returning the Geo location and this will show the complete route for the entity.

Edit:

Just a minor mention: make sure you save the Mashup before you view it.