Reuse polyline PathFigureCollection

This commit is contained in:
ClemensFischer 2023-12-13 14:55:49 +01:00
parent 6b386827ff
commit 71f17420b5
6 changed files with 15 additions and 17 deletions

View file

@ -60,7 +60,7 @@ namespace MapControl
UpdateData();
}
protected void AddPolylineLocations(PathFigureCollection pathFigures, IEnumerable<Location> locations, double longitudeOffset, bool closed)
protected void AddPolylinePoints(PathFigureCollection pathFigures, IEnumerable<Location> locations, double longitudeOffset, bool closed)
{
if (locations.Count() >= 2)
{