Progress® Telerik® Reporting R3 2017

BingMapsTileProvider Class

A class used to provide map tiles from the Bing™ Maps tile servers.

Inheritance Hierarchy

Namespace:  Telerik.Reporting
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public class BingMapsTileProvider : TileProvider

The BingMapsTileProvider type exposes the following members.

Constructors

  NameDescription
Public methodBingMapsTileProvider
Initializes a new instance of the BingMapsTileProvider class
Top

Properties

  NameDescription
Public propertyClientToken
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"
Public propertyImagerySet
Gets or sets the ImagerySet used when requesting the tile images
Public propertyTileImageFormatObsolete.
Gets or sets the TileImageFormat that will be used when returning the requested tile image to the client.
(Inherited from TileProvider.)
Top

Methods

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;
}

See Also