public void ParseBasicKml() { string path = Path.Combine(RootPath, "basic.kml"); KmlRoot r = Deserialize <KmlRoot>(path); Assert.IsNotNull(r); }
private void AddRootToTree(KmlRoot root, LayerUITreeNode node) { if (root.children != null) { foreach (KmlFeature child in root.children) { AddFeatureToTree(child, node); } } }
public void WriteRoot() { KmlRoot root = new KmlRoot(); Serialize(root, Path.Combine(RootPath, "root.kml")); }