for (Step step : itinerary.getStep()) {
positions.add(asWgs84Position(parseDouble(step.getLongitude()), parseDouble(step.getLatitude()), step.getName()));
}
}
if (itineraryOrPoi instanceof Poi) {
Poi poi = (Poi) itineraryOrPoi;
positions.add(asWgs84Position(parseDouble(poi.getLongitude()), parseDouble(poi.getLatitude()), parsedescription(poi)));
}
}
return new ViaMichelinRoute(routeName, positions);
}