public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            Menu = new PackageManagerMenu();

            MenuButton = new MenuButton("icons/icon_more.png", new CGRect(0, 10, 20, 30));
            NavigationItem.RightBarButtonItem = MenuButton;

            Manager = Routing.PackageManager;

            // Create offline routing service connected to package manager
            Routing.Service = new PackageManagerRoutingService(Manager);

            Alert("This sample uses an online map, but downloads routing packages");

            nfloat y = UIApplication.SharedApplication.StatusBarFrame.Height + NavigationController.NavigationBar.Frame.Height;
            Menu.SetFrameWithNavigationBar(y);
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            Menu = new BaseMapSectionMenu();
            Menu.Items = Sections.List;

            MenuButton = new MenuButton("icons/icon_more.png", new CGRect(0, 10, 20, 30));
            NavigationItem.RightBarButtonItem = MenuButton;

            // Set initial style
            Menu.SetInitialItem(Sections.Nutiteq);
            Menu.SetInitialItem(Sections.Language);

            UpdateBaseLayer(Sections.Nutiteq, Sections.BaseStyleValue);
            UpdateLanguage(Sections.BaseLanguageCode);

            // Zoom to Central Europe so some texts would be visible
            MapPos europe = BaseProjection.FromWgs84(new MapPos(15.2551, 54.5260));
            MapView.SetFocusPos(europe, 0);
            MapView.Zoom = 5;
        }