예제 #1
0
        private static void AddLayers()
        {
            string[] layers =
            {
                // Add layers as appropriate / needed here
            };

            foreach (string layer in layers)
            {
                TagsAndLayers.AddLayer(layer);
            }

            List <string> layerList = LayerManager.GetLayerNameList();

            foreach (string layer in layerList)
            {
                TagsAndLayers.AddLayer(layer);
            }
        }
예제 #2
0
        private static void AddTags()
        {
            string[] tags =
            {
                // Add tags as appropriate / needed here
            };

            foreach (string tag in tags)
            {
                TagsAndLayers.AddTag(tag);
            }

            List <string> tagList = TagManager.GetTagList();

            foreach (string tag in tagList)
            {
                TagsAndLayers.AddTag(tag);
            }
        }