Class MapTileDownloader
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class MapTileDownloader : IMapTileDownloader
Constructors
MapTileDownloader()
Fields
webClientsPool
Declaration
protected Dictionary<string, WebClient> webClientsPool
Field Value
System.
|
webClientsPoolLockObject
Declaration
protected object webClientsPoolLockObject
Field Value
System.
|
webRequestCache
Declaration
protected Dictionary<string, Uri> webRequestCache
Field Value
System.
|
Properties
WebHeaders
Gets a collection of WebHeaders that will be sent to the server with each tile download request.
Declaration
public WebHeaderCollection WebHeaders { get; }
Property Value
System.
|
Methods
BeginDownloadTile(Uri, TileInfo)
Begins a new tile download.
Declaration
public virtual void BeginDownloadTile(Uri uri, TileInfo tileInfo)
Parameters
System. The URI. |
Tile The tile information. |
Implements
CancelTileDownload(TileInfo)
Cancels a ongoing tile download.
Declaration
public virtual void CancelTileDownload(TileInfo tileInfo)
Parameters
Tile The tile information. |
Implements
OnTileDownloadComplete(TileInfoEventArgs)
Fires the Tile
Declaration
protected virtual void OnTileDownloadComplete(TileInfoEventArgs e)
Parameters
Tile The Tile |
ShouldRetryDownload(Exception)
Determines whether a failed download should be performed again.
Declaration
protected virtual bool ShouldRetryDownload(Exception error)
Parameters
System. The error. |
Returns
System.
|
TileDownloadDataCompleted(Object, DownloadDataCompletedEventArgs)
Called when the data download for the tile is complete.
Declaration
protected virtual void TileDownloadDataCompleted(object sender, DownloadDataCompletedEventArgs e)
Parameters
System. The sender. |
System. The System. |
Events
TileDownloadComplete
Occurs when a tile download is complete.
Declaration
public event TileInfoEventHandler TileDownloadComplete