Class AzureTileDownloader
Initializes a new instance of the AzureTileDownloader class.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class AzureTileDownloader : IMapTileDownloader
Constructors
AzureTileDownloader()
Fields
webClientsPool
Declaration
protected Dictionary<string, HttpClient> webClientsPool
Field Value
System.Collections.Generic.Dictionary<System.String, System.Net.Http.HttpClient>
|
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 downloading a map tile from the specified URI for the given tile information.
Declaration
public virtual void BeginDownloadTile(Uri uri, TileInfo tileInfo)
Parameters
System.Uri
uri
The URI of the tile to download. |
TileInfo
tileInfo
The tile information associated with the download. |
Implements
CancelTileDownload(TileInfo)
Cancels an ongoing tile download for the specified tile.
Declaration
public void CancelTileDownload(TileInfo tileInfo)
Parameters
TileInfo
tileInfo
The tile information to cancel the download for. |
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
|
Events
TileDownloadComplete
Occurs when a tile download is complete.
Declaration
public event TileInfoEventHandler TileDownloadComplete
Event Type
TileInfoEventHandler
|