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

            ColorLayer colorLayer = new ColorLayer();

            layer.AddLayer(colorLayer);
        }