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); } }
private ILayerObjectBase GetLayerObject(GeoDo.RSS.Core.DrawEngine.ILayer layer) { ILayerObject obj = new LayerObject(layer.Alias ?? layer.Name, layer); return(obj); }