public void ExecuteShowOnMapCommand(object parameter)
        {
            if (SelectedMessage.MessageType == "RTZ")
            {
                MapRoutes.AddRoute(SelectedMessage.StmMessage.Message, System.Windows.Media.Colors.Red);
            }

            if (SelectedMessage.MessageType == "TXT")
            {
                MapRoutes.AddTextMessage(SelectedMessage.StmMessage.Message, System.Windows.Media.Colors.Green);
            }
        }
 public void ExecuteShowOnMapCommand(object parameter)
 {
     MapRoutes.AddRoute(SelectedMessage.Message, System.Windows.Media.Colors.Blue);
 }
Exemple #3
0
 public void ExecuteClearCommand(object parameter)
 {
     MapRoutes.CliearRoutes();
 }