diff --git a/Graph_Renderer/Renderer.cs b/Graph_Renderer/Renderer.cs index 6343f7e..b06be19 100644 --- a/Graph_Renderer/Renderer.cs +++ b/Graph_Renderer/Renderer.cs @@ -57,6 +57,8 @@ public static class Renderer Point endCoordinates = PixelCoordinatesFromGeoCoordinates(step.Node2, minCoordinates, multiplier, bitmap.Height); graphics.DrawLine(route, startCoordinates, endCoordinates); } + + graphics.DrawString($"Distance: {r.Distance:000000.00}m\nTime: {r.Time:hh\\:mm\\:ss}", new Font(FontFamily.GenericMonospace, 18), new SolidBrush(Color.White), 2, 2); } Directory.CreateDirectory(new FileInfo(outputPath).DirectoryName!);