private void InitializeMapTools()
        {
            mapControl.MapTools.MouseCoordinate.IsEnabled           = true;
            mapControl.MapTools.MouseCoordinate.Visibility          = Visibility.Hidden;
            mapControl.MapTools.MouseCoordinate.MouseCoordinateType = MouseCoordinateType.Custom;
            mapControl.MapTools.PanZoomBar.GlobeButtonClick        += PanZoomBar_GlobeButtonClick;

            OverlaySwitcher overlaySwitcher = new OverlaySwitcher();

            overlaySwitcher.Initialize(mapControl);
            overlaySwitcher.OverlayChanged += OverlaySwitcher_BaseOverlayChanged;
            mapControl.MapTools.Add(overlaySwitcher);
        }
        private void InitializeMapTools()
        {
            mapControl.MapTools.MouseCoordinate.IsEnabled = true;
            mapControl.MapTools.MouseCoordinate.Visibility = Visibility.Hidden;
            mapControl.MapTools.MouseCoordinate.MouseCoordinateType = MouseCoordinateType.Custom;
            mapControl.MapTools.PanZoomBar.GlobeButtonClick += PanZoomBar_GlobeButtonClick;

            OverlaySwitcher overlaySwitcher = new OverlaySwitcher();
            overlaySwitcher.Initialize(mapControl);
            overlaySwitcher.OverlayChanged += OverlaySwitcher_BaseOverlayChanged;
            mapControl.MapTools.Add(overlaySwitcher);
        }