New to Telerik UI for WinForms? Start a free 30-day trial

Defines the asynchronous download and cancellation operations used by map tile providers.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
public interface IMapTileDownloader

Methods

Starts downloading the resource for a tile. The built-in downloaders report successful completion through TileDownloadComplete; failures and cancellation are not reported by that event.

C#
void BeginDownloadTile(Uri uri, TileInfo tileInfo)
Parameters:uriUri

The resource URI to download.

tileInfoTileInfo

The tile coordinates and key associated with the request.

Cancels the active download associated with the specified tile.

C#
void CancelTileDownload(TileInfo tileInfo)
Parameters:tileInfoTileInfo

The tile whose download should be canceled.

Events

Occurs when a tile request reaches the successful completion path. Failed or canceled requests are not reported through this event.

C#
event TileInfoEventHandler TileDownloadComplete