AzureTileDownloader
Downloads map tile data asynchronously using HTTP requests and supports canceling active requests.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public class AzureTileDownloader : IMapTileDownloader
Inheritance: objectAzureTileDownloader
Implements:
Constructors
Initializes a new instance of the AzureTileDownloader class.
public AzureTileDownloader()
Fields
webClientsPool
Dictionary<string, HttpClient>
Tracks active HTTP clients by the quadkey of their tile.
protected Dictionary<string, HttpClient> webClientsPool
Synchronizes access to the active request and URI dictionaries.
protected object webClientsPoolLockObject
Stores the URI associated with each active tile request.
protected Dictionary<string, Uri> webRequestCache
Properties
Gets a collection of WebHeaders that will be sent to the server with each tile download request.
public WebHeaderCollection WebHeaders { get; }
Methods
Cancels an ongoing tile download for the specified tile.
public void CancelTileDownload(TileInfo tileInfo)
The tile information to cancel the download for.
Implements:
Fires the event.
protected virtual void OnTileDownloadComplete(TileInfoEventArgs e)
The TileInfoEventArgs instance containing the event data.
Events
Occurs when a tile download is complete.
public event TileInfoEventHandler TileDownloadComplete
Implements: