diff --git a/MapControl/Shared/MapPolygon.cs b/MapControl/Shared/MapPolygon.cs index a7998eed..56a080cf 100644 --- a/MapControl/Shared/MapPolygon.cs +++ b/MapControl/Shared/MapPolygon.cs @@ -42,7 +42,7 @@ namespace MapControl if (ParentMap != null) { - AddPolylineFigures(figures, Locations, true); + AddPolylineLocations(figures, Locations, true); } } } diff --git a/MapControl/Shared/MapPolyline.cs b/MapControl/Shared/MapPolyline.cs index dc67415b..9088738d 100644 --- a/MapControl/Shared/MapPolyline.cs +++ b/MapControl/Shared/MapPolyline.cs @@ -42,7 +42,7 @@ namespace MapControl if (ParentMap != null) { - AddPolylineFigures(figures, Locations, false); + AddPolylineLocations(figures, Locations, false); } } } diff --git a/MapControl/UWP/MapShape.UWP.cs b/MapControl/UWP/MapShape.UWP.cs index 54ea79fd..f2e95d18 100644 --- a/MapControl/UWP/MapShape.UWP.cs +++ b/MapControl/UWP/MapShape.UWP.cs @@ -36,7 +36,7 @@ namespace MapControl UpdateData(); } - protected void AddPolylineFigures(PathFigureCollection figures, IEnumerable locations, bool closed) + protected void AddPolylineLocations(PathFigureCollection figures, IEnumerable locations, bool closed) { if (locations != null && locations.Count() >= 2) { diff --git a/MapControl/WPF/MapMultiPolygon.WPF.cs b/MapControl/WPF/MapMultiPolygon.WPF.cs index 7410aacc..3ccce090 100644 --- a/MapControl/WPF/MapMultiPolygon.WPF.cs +++ b/MapControl/WPF/MapMultiPolygon.WPF.cs @@ -40,7 +40,7 @@ namespace MapControl { foreach (var polygon in Polygons) { - AddPolylineFigures(figures, polygon, true); + AddPolylineLocations(figures, polygon, true); } } } diff --git a/MapControl/WPF/MapShape.WPF.cs b/MapControl/WPF/MapShape.WPF.cs index 8b770af7..dc36b531 100644 --- a/MapControl/WPF/MapShape.WPF.cs +++ b/MapControl/WPF/MapShape.WPF.cs @@ -44,7 +44,7 @@ namespace MapControl UpdateData(); } - protected void AddPolylineFigures(PathFigureCollection figures, IEnumerable locations, bool closed) + protected void AddPolylineLocations(PathFigureCollection figures, IEnumerable locations, bool closed) { if (locations != null && locations.Count() >= 2) {