I am using google play services 11.8.0
Here is a function of my android app where PolyUtil is cannot be resolved by android studio what is the reason.Rest everything is okay.Please help me to correct it.
public void displayDirection(String[] directionsList)
{
int count = directionsList.length;
for(int i = 0;i<count;i++)
{
PolylineOptions options = new PolylineOptions();
options.color(Color.RED);
options.width(10);
options.addAll(PolyUtil.decode(directionsList));
mMap.addPolyline(options);
}
}
Here is a function of my android app where PolyUtil is cannot be resolved by android studio what is the reason.Rest everything is okay.Please help me to correct it.
public void displayDirection(String[] directionsList)
{
int count = directionsList.length;
for(int i = 0;i<count;i++)
{
PolylineOptions options = new PolylineOptions();
options.color(Color.RED);
options.width(10);
options.addAll(PolyUtil.decode(directionsList));
mMap.addPolyline(options);
}
}