@Override
    protected String doInBackground(String... params) {
      roadManager.addRequestOption("routeType=bicycle");
      road = roadManager.getRoad(waypoints);

      return "executed";
    }
 @Override
 protected void onPostExecute(String s) {
   Polyline roadOverlay = RoadManager.buildRoadOverlay(road, context);
   map.getOverlays().add(roadOverlay);
   Drawable nodeIcon = getResources().getDrawable(R.drawable.marker_node);
   for (int i = 0; i < road.mNodes.size(); i++) {
     RoadNode node = road.mNodes.get(i);
     Marker nodeMarker = new Marker(map);
     nodeMarker.setPosition(node.mLocation);
     nodeMarker.setIcon(nodeIcon);
     nodeMarker.setTitle("Step " + i);
     nodeMarker.setSnippet(node.mInstructions);
     nodeMarker.setSubDescription(Road.getLengthDurationText(node.mLength, node.mDuration));
     map.getOverlays().add(nodeMarker);
   }
   map.invalidate();
 }