示例#1
0
        private bool m_triedReload = false; // limits reload attempts

        #endregion Fields

        #region Constructors

        public TileTerra(TileSetTerra ts, Scale tileScale, GeoCoord topLeft, GeoCoord bottomRight)
        {
            m_tileSet = ts;
            m_tileScale = tileScale;
            m_topLeft = topLeft.Clone();
            m_bottomRight = bottomRight.Clone();
            //LibSys.StatusBar.Trace("TileTerra() topLeft=" + m_topLeft.ToString() + " bottomRight=" + m_bottomRight.ToString());
        }
示例#2
0
        public TileSetTerra(PictureManager pm, CameraManager cm)
            : base(pm, cm)
        {
            TerraserverCache.PictureManager = pm;
            TerraserverCache.CameraManager = cm;

            if(This == null)
            {
                This = this;	// let camera manager and others use coordinate transformers
                TerraserverCache.init();
            }
            else
            {
                m_isSecond = true;	// we are topo when the first one is aerial/color
            }

            m_font = Project.getLabelFont(m_fontSize);
            m_evalWordLength = m_evalWord.Length;

            m_opacity = 0;
        }