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.Collections.Generic.Dictionary<System.String, System.Net.WebClient>
|
webClientsPoolLockObject
Declaration
protected object webClientsPoolLockObject
Field Value
System.Object
|
webRequestCache
Declaration
protected Dictionary<string, Uri> webRequestCache
Field Value
System.Collections.Generic.Dictionary<System.String, System.Uri>
|
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.Net.WebHeaderCollection
|
Methods
BeginDownloadTile(Uri, TileInfo)
Begins a new tile download.
Declaration
public virtual void BeginDownloadTile(Uri uri, TileInfo tileInfo)
Parameters
System.Uri
uri
The URI. |
TileInfo
tileInfo
The tile information. |
Implements
CancelTileDownload(TileInfo)
Cancels a ongoing tile download.
Declaration
public virtual void CancelTileDownload(TileInfo tileInfo)
Parameters
TileInfo
tileInfo
The tile information. |
Implements
OnTileDownloadComplete(TileInfoEventArgs)
Fires the TileDownloadComplete event.
Declaration
protected virtual void OnTileDownloadComplete(TileInfoEventArgs e)
Parameters
TileInfoEventArgs
e
The TileInfoEventArgs instance containing the event data. |
ShouldRetryDownload(Exception)
Determines whether a failed download should be performed again.
Declaration
protected virtual bool ShouldRetryDownload(Exception error)
Parameters
System.Exception
error
The error. |
Returns
System.Boolean
|
TileDownloadDataCompleted(Object, DownloadDataCompletedEventArgs)
Called when the data download for the tile is complete.
Declaration
protected virtual void TileDownloadDataCompleted(object sender, DownloadDataCompletedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.Net.DownloadDataCompletedEventArgs
e
The System.Net.DownloadDataCompletedEventArgs instance containing the event data. |
Events
TileDownloadComplete
Occurs when a tile download is complete.
Declaration
public event TileInfoEventHandler TileDownloadComplete
Event Type
TileInfoEventHandler
|