Example #1
0
        public MainForm()
        {
            InitializeComponent();
            m_earthMap = axEarthCtrl1.getEarthMap();
            m_earthMap.maxThreadsNum = 10;//设置可用线程上限

            m_earthRoot = axEarthCtrl1.getEarthRoot();

            m_sky = new Sky();
            axEarthCtrl1.setActiveSky(m_sky);

            addVPAsia();
            axEarthCtrl1.setHomeViewpoint(vpAsia);

            axEarthCtrl1.run();

            tileSourceGDAL   = new TileSourceGDAL();
            tileSourceTMS    = new TileSourceTMS();
            vectorSourceGeom = new VectorSourceGeom();
            featureSourceOGR = new FeatureSourceOGR();
        }
Example #2
0
        public MainForm()
        {
            InitializeComponent();
            m_earthMap = axEarthCtrl1.getEarthMap();
            m_earthMap.maxThreadsNum = 10;//设置可用线程上限

            m_earthRoot = axEarthCtrl1.getEarthRoot();

            m_sky = new Sky();
            axEarthCtrl1.setActiveSky( m_sky );

            addVPAsia();
            axEarthCtrl1.setHomeViewpoint( vpAsia );

            axEarthCtrl1.run();

            tileSourceGDAL = new TileSourceGDAL();
            tileSourceTMS = new TileSourceTMS();
            vectorSourceGeom = new VectorSourceGeom();
            featureSourceOGR = new FeatureSourceOGR();
        }