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:
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
Post a Comment