amir
amir

Reputation: 2573

customize android google map direction line

I had implemented this code for google map direction between two poin . now I want to customize this line between this two point . but I can't see any API or value for this work . how can I customize this line color , width , .... thank you .

Upvotes: 0

Views: 246

Answers (1)

Efe Kahraman
Efe Kahraman

Reputation: 1438

You can customize line through PolylineOptions class which is already in code. Check below lines in ParserTask's onPostExecute method:

            lineOptions.width(2);
            lineOptions.color(Color.RED);

Upvotes: 1

Related Questions