public void AddLayer(Layer layer)
 {
     if (layer != null)
     {
         _groupLayer.AddLayer(layer);
     }
 }
Exemplo n.º 2
0
        private void AddLayer_Click(object sender, RoutedEventArgs e)
        {
            GroupLayer layer = Layer as GroupLayer;

            ColorLayer colorLayer = new ColorLayer();

            layer.AddLayer(colorLayer);
        }