private boolean isRouteNonEmpty(final IGeoItemSupplier route) {
        return route != null && (!(route instanceof Route) || ((Route) route).getNumSegments() > 0);
    }
show a popup for track/individual route, opened by using a long-tap on that item on the map
main/src/main/java/cgeo/geocaching/maps/RouteTrackUtils.java