以前に追加したポリラインを削除し、場所が変更されたときに新しいポリラインを再描画しようとしています。私は両方を試しました
this.routeToDestination.setPoints(pointsToDestination)およびthis.routeToDestination.remove()
しかし、どちらも機能しませんでした。
Google Maps Android API v2で動的な線(ルート)を描画する方法に従いましたが、問題を解決できませんでした
    @Override
    public void onResume() {
        super.onResume();
        routeToDestination = mMap.addPolyline(new PolylineOptions()
                .add(new LatLng(location.getLatitude(), location.getLongitude()),
                        new LatLng(this.destinationLatitude, this.destinationLongitude))
                .width(1)
                .color(Color.DKGRAY)
        );
    }
   @Override
    public void onLocationChanged(Location location) {
        List<LatLng> pointsToDestination = new ArrayList<LatLng>();
        pointsToDestination.add(new LatLng(location.getLatitude(), location.getLongitude()));
        pointsToDestination.add(new LatLng(destinationLatitude, destinationLongitude));
        this.routeToDestination.setPoints(pointsToDestination);
    }
}