2

As I have drawn an driving route direction on Google map from source to destination with red color poly-line. Now I want to change the color of the that poly-line from red to some other color(like blue) on follow of that route(I think how to animate the marker on map). How can I do this?

Nimantha
  • 6,405
  • 6
  • 28
  • 69
vinay Maneti
  • 1,447
  • 1
  • 23
  • 31

1 Answers1

4

Check this tutorial:

http://javapapers.com/android/draw-path-on-google-maps-android-api/

polyLineOptions.color(Color.BLUE);

Find above line and change color as you want.

Nimantha
  • 6,405
  • 6
  • 28
  • 69
Ketan Parmar
  • 2,962
  • 19
  • 27