コード例 #1
0
ファイル: TileDownLoader.cs プロジェクト: JianwenSun/OpenMap
 private void Reload()
 {
     if (this.Validate())
     {
         TilesDownloader.EnqueueDownload(this, false);
     }
 }
コード例 #2
0
ファイル: TileDownLoader.cs プロジェクト: JianwenSun/OpenMap
 internal void StartDownload()
 {
     if (this.stream != null)
     {
         this.memoryStream = new MemoryStream();
         this.stream.BeginRead(this.tileBodyPart, 0, TileBodyPartLength, ReadTileCallback, this);
     }
     else
     {
         TilesDownloader.EnqueueDownload(this, true);
     }
 }