Passing routeId from list to map