Add markers to the map byusing the below mentioned method :–
mapplsMap.addPolyline(new PolylineOptions()
.addAll(points)//list of LatLng
.color(Color.parseColor("#3bb2d0"))
.width(2));
To remove the polyline
mapplsMap.removePolyline(polyline);
For more info visit : mappls-android-sdk/docs/v1.0.7/Getting-Started.md at main · mappls-api/mappls-android-sdk · GitHub