Class
MapProviderCollection

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public class MapProviderCollection : IEnumerable

Inheritance: objectMapProviderCollection

Implements: IEnumerable

Constructors

MapProviderCollection(BaseMapElement)

Initializes a new instance of the MapProviderCollection class.

Declaration

cs-api-definition
public MapProviderCollection(BaseMapElement owner)

Parameters

owner

BaseMapElement

The owner.

Properties

Count

Gets the number of providers in the collection.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

The count.

MaxZoomLevel

Gets the maximum zoom level.

Declaration

cs-api-definition
public int MaxZoomLevel { get; }

Property Value

int

The maximum zoom level.

MinZoomLevel

Gets the minimum zoom level.

Declaration

cs-api-definition
public int MinZoomLevel { get; }

Property Value

int

The minimum zoom level.

this[int]

Gets the IMapProvider at the specified index.

Declaration

cs-api-definition
public IMapProvider this[int index] { get; }

Parameters

index

int

The index.

Property Value

IMapProvider

IMapProvider.

this[string]

Gets the IMapProvider with the specified identifier.

Declaration

cs-api-definition
public IMapProvider this[string id] { get; }

Parameters

id

string

The identifier.

Property Value

IMapProvider

IMapProvider.

Methods

Add(IMapProvider)

Adds the specified provider.

Declaration

cs-api-definition
public virtual void Add(IMapProvider provider)

Parameters

provider

IMapProvider

The provider.

GetEnumerator()

Declaration

cs-api-definition
public IEnumerator<IMapProvider> GetEnumerator()

Returns

IEnumerator<IMapProvider>

OnProviderInitializationComplete(object, EventArgs)

Handles the event of all providers.

Declaration

cs-api-definition
protected virtual void OnProviderInitializationComplete(object sender, EventArgs e)

Parameters

sender

object

The sender.

e

EventArgs

The EventArgs instance containing the event data.

OnProviderUpdated(object, EventArgs)

Handles the event of all providers.

Declaration

cs-api-definition
protected virtual void OnProviderUpdated(object sender, EventArgs e)

Parameters

sender

object

The sender.

e

EventArgs

The EventArgs instance containing the event data.

Remove(IMapProvider)

Removes the specified provider.

Declaration

cs-api-definition
public virtual void Remove(IMapProvider provider)

Parameters

provider

IMapProvider

The provider.

UpdateZoomLevels()

Updates the zoom levels.

Declaration

cs-api-definition
protected virtual void UpdateZoomLevels()