public void SetTileInfo(TileInfo tileinfo) { }
public TileInfo DeepClone() { var other = new TileInfo(); other.Name = Name; other.Description = Description; other.MinZoom = MinZoom; other.MaxZoom = MaxZoom; other.Bounds = (double[])Bounds.Clone(); other.Center = Center != null ? (double[])Center.Clone() : null; other.Format = Format; other.Scheme = Scheme; if (VectorLayers != null) { other.VectorLayers = new List<VectorLayer>(); foreach (var layer in VectorLayers) { var otherLayer = new VectorLayer() { Id = layer.Id, Description = layer.Description }; if (layer.Fields != null) { otherLayer.Fields = new Dictionary<string, string>(); foreach (KeyValuePair<string, string> item in layer.Fields) { otherLayer.Fields[item.Key] = item.Value; } } } } return other; }