targetsMap.remove(t.getMMSI());
continue;
}
// Calculate the vessel's distance from the AIS receiver
nav.mercatorSailing(getLocation(), targetPosition);
distance = nav.getDistance();
// Remove targets that are too far away and that are hence the result of badly configured
// receivers
if (distance > 300) {