Class BingMapsTileProvider
A class used to provide map tiles from the Bing™ Maps tile servers.
Inherited Members
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class BingMapsTileProvider : TileProvider, ITileProvider
Remarks
Requires a valid Bing Maps Key that could be obtained from "http://www.microsoft.com/maps/create-a-bing-maps-key.aspx"
Examples
The following example demonstrates how to initialize a BingMapsTileProvider instance:
public void HowToInitializeBingMapsTileProvider()
{
//Creating the BingMapsTileProvider instance
Telerik.Reporting.BingMapsTileProvider bingMapsTileProvider1 = new Telerik.Reporting.BingMapsTileProvider();
//Setting the ClientToken, needed to authorize the request
bingMapsTileProvider1.ClientToken = "ClientTokenAuthorizingTheRequest";
//Setting the desired imagery set
bingMapsTileProvider1.ImagerySet = ImagerySet.Road;
//Assigning the tile provider to the map instance
this.map.TileProvider = bingMapsTileProvider1;
}
Public Sub HowToInitializeBingMapsTileProvider()
'Creating the BingMapsTileProvider instance
Dim bingMapsTileProvider1 As New Telerik.Reporting.BingMapsTileProvider()
'Setting the ClientToken, needed to authorize the request
bingMapsTileProvider1.ClientToken = "ClientTokenAuthorizingTheRequest"
'Setting the desired imagery set
bingMapsTileProvider1.ImagerySet = ImagerySet.Road
'Assigning the tile provider to the map instance
Me.map.TileProvider = bingMapsTileProvider1
End Sub
Constructors
BingMapsTileProvider()
Declaration
public BingMapsTileProvider()
Properties
ClientToken
The client token that authenticates the request. Represents the Bing Maps Key that could be obtained from "http://www.microsoft.com/maps/create-a-bing-maps-key.aspx"
Declaration
public string ClientToken { get; set; }
Property Value
System.String
|
ImagerySet
Gets or sets the ImagerySet used when requesting the tile images
Declaration
public ImagerySet ImagerySet { get; set; }
Property Value
ImagerySet
|
Methods
ToString()
Declaration
public override string ToString()
Returns
System.String
|