show decorated icon for route segment based on a given criteria