Fixed MapPath rendering

This commit is contained in:
ClemensFischer 2023-01-24 16:22:02 +01:00
parent 1ac9ee6b82
commit 29ffdc4420
5 changed files with 40 additions and 9 deletions

View file

@ -22,6 +22,7 @@ namespace MapControl
{
public MapPath()
{
Stretch = Stretch.None;
MapPanel.InitMapElement(this);
}
@ -81,7 +82,7 @@ namespace MapControl
{
StartPoint = points.First(),
IsClosed = closed,
IsFilled = closed
IsFilled = true
};
figure.Segments.Add(segment);
@ -114,7 +115,7 @@ namespace MapControl
{
StartPoint = p1,
IsClosed = false,
IsFilled = false
IsFilled = true
};
segment = new PolyLineSegment();