예제 #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));
        }
예제 #2
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);
 }