Debug and test MapDataManager.getTotalDistance()