question: protected List < Position > asPositionList ( LatLon ... locations ) { List < Position > positions = new ArrayList < Position > ( locations . length ) ; for ( LatLon loc : locations ) { positions . add ( new Position ( loc , 0 ) ) ; } return positions ; }
target:  Convert a list of LatLon to a list of Positions at zero elevation.