OSM_Graph/Graph/Way.cs

12 lines
305 B
C#
Raw Permalink Normal View History

namespace Graph;
public class Way(Dictionary<string, string> tags)
{
public readonly Dictionary<string, string> Tags = tags;
public override string ToString()
{
return $"Way\n" +
$"Tags:\t{string.Join("\n\t", Tags.Select(t => $"{t.Key,10}={t.Value,30}"))}";
}
}