how to drawing traveled way google map api v2 android -


i want draw way, traveled on google map api v2, dont know how that. want that: this app "my tracks"

this app sports tracker

to draw travelled distance need list of "points" walked through.

assuming have list objects of track have draw polyline:

// add thin red line   polyline line = map.addpolyline(new polylineoptions()      .addall(your_points)      .width(5)      .color(color.red)); 

then have add start end end marker if need. (example start):

 marker marker = map.addmarker(new markeroptions()      .position(start_position)      .title("start")      .snippet("start")); 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -