0

I tried to put specific cap shape at the start and beginning of the Polyline, but can't find example of reference how to implement this. I only found this in Developers Google site Google API Android but still no luck how to use this for my polyline. Anyone can assist? Thank you very much for your kindness attention.

The code stopped here (updated)

import com.google.android.gms.maps.model.RoundCap; // not working

....

if(lineOptions != null) {
    line = mMap.addPolyline(lineOptions
        .color(Color.BLUE)
        .geodesic(true);
        line.setStartCap(new RoundCap());
}
else {
    Log.d("onPostExecute","No Polylines drawn");
}

What library / reference I should use? Please help to advise

-sea-

seageath
  • 17
  • 5
  • Add more details here – Mathews Sunny Jan 11 '18 at 05:15
  • What kind of detail are you referring to? My requirement is to put for example Roundcap as a start of polyline and Squarecap at the end of the polyline. If you're asking real life example, you can refer to Uber app. – seageath Jan 15 '18 at 04:23

0 Answers0