model.addOverlay(new Marker(latLng, step.getTitle()));
}
}
// ajout de l'arrive de la dernière étape
if (steps.size() > 1 && steps.get(steps.size() - 1) != null) {
ITravelStep lastStep = steps.get(steps.size() - 1);
if (lastStep.getEnd() != null) {
latLng = new LatLng(lastStep.getEnd().getLatitude(), lastStep.getEnd().getLongitude());
paths.add(latLng);
}
}
polyline.setPaths(paths);
model.addOverlay(polyline);