Example #1
0
        /// <summary>
        /// Open MapView tab
        /// </summary>
        /// <param name="tree"></param>
        /// <returns></returns>
        public Tab OpenTab(PersistentTree tree)
        {
            MapView mapView = new MapView(tree.Tree);
            Tab     tab     = new Tab(mapView, tree);

            tab.UpdateTitle();
            OpenTabInternal(tab);
            mapView.CenterOnForm();

            return(tab);
        }