android - How Can make Toast.makeText in Google map? -
i want know how can make 'toast.maketext`to tell me order of cities in path
code :
shortest = tsp.tsp(matrix); for(int i=0; < 20 ; i++) { googlemap.addpolyline(new polylineoptions().geodesic(true) .add(new latlng(placelatitude[shortest[i]],placelongitude[shortest[i]])) .add(new latlng(placelatitude[shortest[i+1]],placelongitude[shortest[i+1]])) ); } }
here full description on toast. , i'm guessing can record cities being added in order in string array , run loop append text displayed on toast message.
Comments
Post a Comment