src/AircraftTrajectories/Models/Visualisation/KML/AnimationSections/FitnessGroundPlotKMLAnimator.cs
/// <summary>
/// Return a string in KML format containing all updates
/// for the plotted ground path at the given moment in time
/// </summary>
/// <returns></returns>
Return a string in KML format containing all updates
for the plotted ground path at the given moment in time
Return a string in KML format containing all updates for the plotted ground path at the given moment in time
public string KMLAnimationStep(int i)
        {
            string plotgroundCoordinates = "";
            Trajectory trajectory = _trajectories[i];
            for (int t = 0; t < trajectory.Duration; t++)
            {
                plotgroundCoordinates += trajectory.Longitude(t) + "," + trajectory.Latitude(t) + "," + 0 + "\n";
            }
            return @"
            <LineString targetId='multipleplotground" + i + @"'>
                <coordinates>
                " + plotgroundCoordinates + @"
                </coordinates>
            </LineString>
            ";
        }
public string KMLAnimationStep ( int i ) { string plotgroundCoordinates = " " ; Trajectory trajectory = _trajectories [ i ] ; for ( int t = 0 ; t < trajectory . Duration ; t ++ ) { plotgroundCoordinates += trajectory . Longitude ( t ) + " " + trajectory . Latitude ( t ) + " " + 0 + " \n " ; } return @"
            <LineString targetId='multipleplotground" + i + @"'>
                <coordinates>
                " + plotgroundCoordinates + @"
                </coordinates>
            </LineString>
            " ; }
Return a string in KML format containing all updates
for the plotted ground path at the given moment in time
Return a string in KML format containing all updates for the plotted ground path at the given moment in time
None
i
int