Closed saif984 closed 6 years ago
Thanks @saif984! Makes sense since the current code is a single threaded loop.
Was the app useable during the concurrent download requests?
No, in my app it's disabled till downloads finished by business prespectives
Closing.
i had change for download tiles method, to download up to 40 tile simultaneously and it show big difference in downloading tiles time, code to be as follows: `_doNextTile: function (i, cells, reportProgress) { var cell = cells[i];
and made change to this
prepareForOffline : function(minLevel, maxLevel, extent, reportProgress) { this.FinishDownloaded = 0; this._tilesCore._createCellsForOffline(this,minLevel,maxLevel,extent,function(cells){ /* launch tile download */ this._doNextTile(0, cells, reportProgress); }.bind(this)); }