android - Adding multiple points in map using polyline and arraylist -
how draw polyline in google map multiple latitude , longitude coordinates. need draw polyline atleast 20 sets of latitude , longitude dynamically.
example android documentation:
googlemap map; // ... map. // add thin red line london new york. polyline line = map.addpolyline(new polylineoptions() .add(new latlng(51.5, -0.1), new latlng(40.7, -74.0)) .width(5) .color(color.red));
just call .add
many times need.
Comments
Post a Comment