/// <summary> /// Add a new placemark to the map. The placemark is immediately added so /// you cannot add a placemark and then make changes to it. /// </summary> /// <param name="placemark">The placemark to add.</param> public void AddPlacemark(Placemark placemark) { XmlElement element = null; element = placemark.KMLPlacemark(this); if (element != null) { kmlDocument.AppendChild(element); } }