mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
Version 4.8.0: Improved WPF MapPolyline and MapPolygon accuracy.
This commit is contained in:
parent
5bc42d1f07
commit
0a7d0fccd2
5 changed files with 5 additions and 5 deletions
|
|
@ -40,7 +40,7 @@ namespace MapControl
|
|||
{
|
||||
foreach (var polygon in Polygons)
|
||||
{
|
||||
AddPolylineFigures(figures, polygon, true);
|
||||
AddPolylineLocations(figures, polygon, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ namespace MapControl
|
|||
UpdateData();
|
||||
}
|
||||
|
||||
protected void AddPolylineFigures(PathFigureCollection figures, IEnumerable<Location> locations, bool closed)
|
||||
protected void AddPolylineLocations(PathFigureCollection figures, IEnumerable<Location> locations, bool closed)
|
||||
{
|
||||
if (locations != null && locations.Count() >= 2)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue