private void updateTrafficProjections(){
  List<AirMapTraffic> updated=new ArrayList<>();
  for (  AirMapTraffic traffic : allTraffic) {
    if (traffic.getGroundSpeedKt() > -1 && traffic.getTrueHeading() > -1) {
      allTraffic.remove(traffic);
      Coordinate projected=projectedCoordinate(traffic);
      traffic.setCoordinate(projected);
      traffic.setShowAlert(false);
      allTraffic.add(traffic);
      updated.add(traffic);
    }
  }
  notifyUpdated(updated);
}

private void updateTrafficProjections ( ) { List < AirMapTraffic > updated = new ArrayList < > ( ) ; for ( AirMapTraffic traffic : allTraffic ) { if ( traffic . getGroundSpeedKt ( ) > - 1 && traffic . getTrueHeading ( ) > - 1 ) { allTraffic . remove ( traffic ) ; Coordinate projected = projectedCoordinate ( traffic ) ; traffic . setCoordinate ( projected ) ; traffic . setShowAlert ( false ) ; allTraffic . add ( traffic ) ; updated . add ( traffic ) ; } } notifyUpdated ( updated ) ; }
update all the traffic projections based on their heading and ground speed
