浏览代码

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)