原点图案改换为五角星
This commit is contained in:
parent
d6554486ab
commit
b3ae2ed818
@ -347,7 +347,7 @@ namespace Plane.FormationCreator.Views
|
||||
}
|
||||
}
|
||||
|
||||
Ellipse original = null;
|
||||
Microsoft.Expression.Shapes.RegularPolygon original = null;
|
||||
|
||||
private void FlightTaskManager_SetOriginal(object sender, FlightTaskAddedOriginalEventArgs e)
|
||||
{
|
||||
@ -358,17 +358,18 @@ namespace Plane.FormationCreator.Views
|
||||
location = map.Center;
|
||||
else
|
||||
location = new Location(e.Lat, e.Lng);
|
||||
|
||||
|
||||
original = new Ellipse
|
||||
original = new Microsoft.Expression.Shapes.RegularPolygon
|
||||
{
|
||||
Tag = ORIGINALPOINT_TAG,
|
||||
Fill = new SolidColorBrush(Color.FromRgb(0, 0, 0)),
|
||||
StrokeThickness = 3,
|
||||
Fill = new SolidColorBrush(Color.FromRgb(237, 155, 3)),
|
||||
StrokeThickness = 1,
|
||||
Stroke = new SolidColorBrush(Color.FromRgb(255, 255, 255)),
|
||||
Width = 18,
|
||||
Height = 18,
|
||||
};
|
||||
Width = 25,
|
||||
Height = 25,
|
||||
InnerRadius = 0.5,
|
||||
PointCount = 5,
|
||||
};
|
||||
|
||||
map.Children.Add(original);
|
||||
MapLayer.SetPosition(original, location);
|
||||
|
Loading…
Reference in New Issue
Block a user