Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colors do not change. #8

Closed
mujtaba617 opened this issue Feb 21, 2020 · 1 comment
Closed

Colors do not change. #8

mujtaba617 opened this issue Feb 21, 2020 · 1 comment

Comments

@mujtaba617
Copy link

Unable to change the color of line using the given method.
Steps to reproduce the behavior:

  1. Add a route
  2. Draw Polyline
  3. Line is drawn and animated
  4. Try changing color. It just doesn't work. May be due to Singleton Pattern?
@Aradeena
Copy link

i have same problem ,
try to change color by use Color.BLACK ,RED etc.

MapAnimator.getInstance().setPrimaryLineColor(Color.RED);
MapAnimator.getInstance().setSecondaryLineColor(Color.BLUE);

it's work with me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants