/// <summary>
 /// Adds a default position for the KML file to view.
 /// It looks at the first placemark added.
 /// </summary>
 /// <param name="place">Placemark --> desired look at placemark</param>
 public void addLookAt(Placemark place)
 {
     formattedKML +=
         "\t<LookAt>" +
         "\t\t<longitude>" + place.getPlacemarkLongitude() + "</longitude>" +
         "<latitude>" + place.getPlacemarkLatitude() + "</latitude>" +
         "<heading>0</heading> " +
         "<range>3000000</range>" +
         "<altitudeMode>relativeToGround</altitudeMode>" +
         "\t</LookAt>";
 }
 /// <summary>
 /// Adds a default position for the KML file to view.
 /// It looks at the first placemark added.
 /// </summary>
 /// <param name="place">Placemark --> desired look at placemark</param>
 public void addLookAt(Placemark place)
 {
     formattedKML +=
         "\t<LookAt>" +
         "\t\t<longitude>" + place.getPlacemarkLongitude() + "</longitude>" +
         "<latitude>" + place.getPlacemarkLatitude() + "</latitude>" +
         "<heading>0</heading> " +
         "<range>3000000</range>" +
         "<altitudeMode>relativeToGround</altitudeMode>" +
         "\t</LookAt>";
 }
 /// <summary>
 /// Adds a placemark to the KML file and associates the placemark with
 /// latitude and longitude coordinates, a description, a name, and a desired style
 /// </summary>
 /// <param name="name">String --> placemark name</param>
 /// <param name="description">String --> placemark description</param>
 /// <param name="lat">double --> Latitude</param>
 /// <param name="lon">double --> Longitude</param>
 /// <param name="styleName">String --> Style Name</param>
 public void addPlacemark(Placemark place)
 {
     formattedKML +=
         "\t<Placemark>\n" +
         "\t\t<name>" +
         "\t\t\t<![CDATA[" + place.getPlacemarkName() + "]]>\n" +
         "</name>\n" +
         "\t\t<description>\n" +
         "\t\t\t<![CDATA[" + place.getPlacemarkDescription() + "]]>\n" +
         "\t\t</description>\n";
     if (place.getPlacemarkStyleName().Length != 0)
     {
         formattedKML += "\t\t\t<styleUrl>" + place.getPlacemarkStyleName() + "</styleUrl>\n";
     }
     formattedKML +=
         "\t\t\t<Point>\n" +
         "\t\t\t\t<altitudeMode>relativeToGround</altitudeMode>\n" +
         "\t\t\t\t<coordinates>" + place.getPlacemarkLongitude() + "," + place.getPlacemarkLatitude() + "</coordinates>\n" +
         "\t\t\t</Point>\n" +
         "\t</Placemark>\n";
 }
 /// <summary>
 /// Adds a placemark to the KML file and associates the placemark with
 /// latitude and longitude coordinates, a description, a name, and a desired style
 /// </summary>
 /// <param name="name">String --> placemark name</param>
 /// <param name="description">String --> placemark description</param>
 /// <param name="lat">double --> Latitude</param>
 /// <param name="lon">double --> Longitude</param>
 /// <param name="styleName">String --> Style Name</param>
 public void addPlacemark(Placemark place)
 {
     formattedKML +=
         "\t<Placemark>\n" +
         "\t\t<name>" +
         "\t\t\t<![CDATA[" + place.getPlacemarkName() + "]]>\n" +
         "</name>\n" +
         "\t\t<description>\n" +
         "\t\t\t<![CDATA[" + place.getPlacemarkDescription() + "]]>\n" +
         "\t\t</description>\n";
     if (place.getPlacemarkStyleName().Length != 0)
     {
         formattedKML += "\t\t\t<styleUrl>" + place.getPlacemarkStyleName() + "</styleUrl>\n";
     }
     formattedKML +=
         "\t\t\t<Point>\n" +
         "\t\t\t\t<altitudeMode>relativeToGround</altitudeMode>\n" +
         "\t\t\t\t<coordinates>" + place.getPlacemarkLongitude() + "," + place.getPlacemarkLatitude() + "</coordinates>\n" +
         "\t\t\t</Point>\n" +
         "\t</Placemark>\n";
 }