|
@@ -308,7 +308,7 @@ public class LiveMapsPanelViewModel : DependencyObject, INotifyPropertyChanged
|
|
|
var circle = new MapCircle()
|
|
|
{
|
|
|
Center = marker,
|
|
|
- Fill = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Magenta) { Opacity = 0.5 },
|
|
|
+ Fill = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Magenta) { Opacity = 0.2 },
|
|
|
Stroke = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Black),
|
|
|
StrokeThickness = 0,
|
|
|
Radius = 10
|
|
@@ -327,6 +327,29 @@ public class LiveMapsPanelViewModel : DependencyObject, INotifyPropertyChanged
|
|
|
StrokeThickness = 4
|
|
|
};
|
|
|
elements.Add(line);
|
|
|
+
|
|
|
+ if (_waypoints.Count > 1)
|
|
|
+ {
|
|
|
+ var start = new MapCircle()
|
|
|
+ {
|
|
|
+ Center = _waypoints.First(),
|
|
|
+ Fill = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.LightGreen) { Opacity = 0.9 },
|
|
|
+ Stroke = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Black),
|
|
|
+ StrokeThickness = 0.5,
|
|
|
+ Radius = 10
|
|
|
+ };
|
|
|
+ elements.Add(start);
|
|
|
+ }
|
|
|
+
|
|
|
+ var end = new MapCircle()
|
|
|
+ {
|
|
|
+ Center = _waypoints.Last(),
|
|
|
+ Fill = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Red) { Opacity = 0.9 },
|
|
|
+ Stroke = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Black),
|
|
|
+ StrokeThickness = 0.5,
|
|
|
+ Radius = 10
|
|
|
+ };
|
|
|
+ elements.Add(end);
|
|
|
}
|
|
|
|
|
|
Elements = elements;
|