public MainWindow()
 {
     InitializeComponent();
     KathMap.Focus();
     KathMap.Mode = new AerialMode(true);
     KathMap.ViewChangeOnFrame += new EventHandler <MapEventArgs>(MyMap_ViewChangeOnFrame);
 }