Esempio n. 1
0
        public BitmapSource GetMapTexture(Map map, int detail)
        {
            if (disposed)
            {
                throw new ObjectDisposedException("Unitsync has already been released.");
            }
            SetLoadingStatus("Loading Map (Map Texture)");
            var sm2 = new SM2();

            return(sm2.GetTexture(map, detail, this));
        }
 public BitmapSource GetMapTexture(Map map, int detail)
 {
     if (disposed) throw new ObjectDisposedException("Unitsync has already been released.");
     SetLoadingStatus("Loading Map (Map Texture)");
     var sm2 = new SM2();
     return sm2.GetTexture(map, detail, this);
 }