ソースを参照

Fixed nummer bug

Jeroen 10 年 前
コミット
ad399c15b4
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Breda-Tour/MapScreen/MapPage.xaml.cs

+ 1 - 1
Breda-Tour/MapScreen/MapPage.xaml.cs

@@ -107,7 +107,7 @@ namespace Breda_Tour.MapScreen
                 for (int x = 0; x < route.Waypoints.Count; x++)
                 {
                     Waypoint wayp = route.Waypoints.ElementAt(x);
-                    MapIcon wp = new MapIcon { Location = wayp.Position, Title = x + 1.ToString() };
+                    MapIcon wp = new MapIcon { Location = wayp.Position, Title = (x + 1).ToString() };
                     Map.MapElements.Add(wp);
                 }
                 //foreach (var waypoint in route.WayPoints)