Class
AzureTileDownloader

Initializes a new instance of the AzureTileDownloader class.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public class AzureTileDownloader : IMapTileDownloader

Inheritance: objectAzureTileDownloader

Implements: IMapTileDownloader

Constructors

AzureTileDownloader()

Initializes a new instance of the MapTileDownloader class.

Declaration

cs-api-definition
public AzureTileDownloader()

Fields

webClientsPool

Declaration

cs-api-definition
protected Dictionary<string, HttpClient> webClientsPool

Field Value

Dictionary<string, HttpClient>

webClientsPoolLockObject

Declaration

cs-api-definition
protected object webClientsPoolLockObject

Field Value

object

webRequestCache

Declaration

cs-api-definition
protected Dictionary<string, Uri> webRequestCache

Field Value

Dictionary<string, Uri>

Properties

WebHeaders

Gets a collection of WebHeaders that will be sent to the server with each tile download request.

Declaration

cs-api-definition
public WebHeaderCollection WebHeaders { get; }

Property Value

WebHeaderCollection

Methods

BeginDownloadTile(Uri, TileInfo)

Begins downloading a map tile from the specified URI for the given tile information.

Declaration

cs-api-definition
public virtual void BeginDownloadTile(Uri uri, TileInfo tileInfo)

Parameters

uri

Uri

The URI of the tile to download.

tileInfo

TileInfo

The tile information associated with the download.

Implements IMapTileDownloader.BeginDownloadTile(Uri, TileInfo)

CancelTileDownload(TileInfo)

Cancels an ongoing tile download for the specified tile.

Declaration

cs-api-definition
public void CancelTileDownload(TileInfo tileInfo)

Parameters

tileInfo

TileInfo

The tile information to cancel the download for.

Implements IMapTileDownloader.CancelTileDownload(TileInfo)

OnTileDownloadComplete(TileInfoEventArgs)

Fires the event.

Declaration

cs-api-definition
protected virtual void OnTileDownloadComplete(TileInfoEventArgs e)

Parameters

e

TileInfoEventArgs

The TileInfoEventArgs instance containing the event data.

ShouldRetryDownload(Exception)

Determines whether a failed download should be performed again.

Declaration

cs-api-definition
protected virtual bool ShouldRetryDownload(Exception error)

Parameters

error

Exception

The error.

Returns

bool

true if XXXX, false otherwise.

Events

TileDownloadComplete

Occurs when a tile download is complete.

Declaration

cs-api-definition
public event TileInfoEventHandler TileDownloadComplete

Event Value

TileInfoEventHandler

Implements IMapTileDownloader.TileDownloadComplete