public WaypointDistanceInfo getClosestDistanceInM(final Geopoint coord) {
        WaypointDistanceInfo info = new WaypointDistanceInfo("", 50000000);
        WaypointDistanceInfo temp;
        if (baseOverlay != null) {
            temp = baseOverlay.getClosestDistanceInM(coord);
            if (temp.meters > 0 && temp.meters < info.meters) {
                info = temp;
            }
        }
        if (storedOverlay != null) {
            temp = storedOverlay.getClosestDistanceInM(coord);
            if (temp.meters > 0 && temp.meters < info.meters) {
                info = temp;
            }
        }
        if (liveOverlay != null) {
            temp = liveOverlay.getClosestDistanceInM(coord);
            if (temp.meters > 0 && temp.meters < info.meters) {
                info = temp;
            }
        }
        return info;
    }
Forces redraw of all cache layers (e.g. for icon change)
main/src/main/java/cgeo/geocaching/maps/mapsforge/v6/caches/CachesBundle.java