Exemplo n.º 1
0
 private void GetLayerObjects(CodeCell.AgileMap.Core.ILayer[] layers, ILayerObjecGroup g)
 {
     if (layers == null || layers.Length == 0)
     {
         return;
     }
     foreach (CodeCell.AgileMap.Core.ILayer lyr in layers)
     {
         ILayerObject obj = new LayerObject(lyr.Name ?? string.Empty, lyr);
         g.Children.Add(obj);
     }
 }
Exemplo n.º 2
0
        private ILayerObjectBase GetLayerObject(GeoDo.RSS.Core.DrawEngine.ILayer layer)
        {
            ILayerObject obj = new LayerObject(layer.Alias ?? layer.Name, layer);

            return(obj);
        }