Class
ImageMapSource

Map source which provides ImageSource for the Image control.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class ImageMapSource : DependencyObject, IMapSource

Inheritance: objectImageMapSource

Derived Classes: UriImageSource

Implements: IMapSource

Constructors

ImageMapSource()

Initializes a new instance of the ImageMapSource class.

Declaration

cs-api-definition
public ImageMapSource()

Fields

OpacityProperty

Identifies the Opacity Opacity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OpacityProperty

Field Value

DependencyProperty

Properties

CacheStorage

Gets or sets the CacheStorage property.

Declaration

cs-api-definition
public ICacheStorage CacheStorage { get; set; }

Property Value

ICacheStorage

Implements IMapSource.CacheStorage

Culture

Gets or sets culture.

Declaration

cs-api-definition
public CultureInfo Culture { get; set; }

Property Value

CultureInfo

Implements IMapSource.Culture

IsTileCachingEnabled

Gets or sets the IsTileCachingEnabled property.

Declaration

cs-api-definition
public bool IsTileCachingEnabled { get; set; }

Property Value

bool

Implements IMapSource.IsTileCachingEnabled

Opacity

Gets or sets the opacity factor.

Declaration

cs-api-definition
public double Opacity { get; set; }

Property Value

double

Implements IMapSource.Opacity

UniqueId

Gets unique identifier of the map source.

Declaration

cs-api-definition
public string UniqueId { get; protected set; }

Property Value

string

Implements IMapSource.UniqueId

Methods

GetEmptyImage(UIElement, Size)

Gets empty image.

Declaration

cs-api-definition
protected virtual ImageSource GetEmptyImage(UIElement element, Size imageSize)

Parameters

element

UIElement

Tile presenter.

imageSize

Size

Image size.

Returns

ImageSource

GetImageSource(int)

Gets the image source.

Declaration

cs-api-definition
protected virtual ImageSource GetImageSource(int zoomLevel)

Parameters

zoomLevel

int

Zoom level.

Returns

ImageSource

Image source.

Initialize()

Initialize map source.

Declaration

cs-api-definition
public virtual void Initialize()

Implements IMapSource.Initialize()

IsLevelSupported(int)

Indicates whether specified tile level is supported.

Declaration

cs-api-definition
public virtual bool IsLevelSupported(int level)

Parameters

level

int

Tile level.

Returns

bool

true if tile level is supported. false otherwise.

Implements IMapSource.IsLevelSupported(int)

RaiseImageSourceChanged()

Raise ImageSourceChanged event.

Declaration

cs-api-definition
protected void RaiseImageSourceChanged()

RaiseInitializeCompleted()

Raise InitializeCompleted event.

Declaration

cs-api-definition
protected void RaiseInitializeCompleted()

Events

InitializeCompleted

Occurs when initialization of the map source is completed.

Declaration

cs-api-definition
public event EventHandler InitializeCompleted

Event Value

EventHandler

Implements IMapSource.InitializeCompleted