mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Fixed MapPath rendering
This commit is contained in:
parent
1ac9ee6b82
commit
29ffdc4420
5 changed files with 40 additions and 9 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue