Example #1
0
        public void ParseBasicKml()
        {
            string  path = Path.Combine(RootPath, "basic.kml");
            KmlRoot r    = Deserialize <KmlRoot>(path);

            Assert.IsNotNull(r);
        }
Example #2
0
 private void AddRootToTree(KmlRoot root, LayerUITreeNode node)
 {
     if (root.children != null)
     {
         foreach (KmlFeature child in root.children)
         {
             AddFeatureToTree(child, node);
         }
     }
 }
Example #3
0
        public void WriteRoot()
        {
            KmlRoot root = new KmlRoot();

            Serialize(root, Path.Combine(RootPath, "root.kml"));
        }