New to Telerik UI for WPFStart a free 30-day trial

Map source which provides ImageSource for the Image control.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class ImageMapSource : DependencyObject, IMapSource

Inheritance: objectImageMapSource

Derived Classes: UriImageSource

Implements: IMapSource

Constructors

Initializes a new instance of the ImageMapSource class.

C#
public ImageMapSource()

Fields

OpacityProperty

DependencyProperty

Identifies the Opacity Opacity dependency property.

C#
public static readonly DependencyProperty OpacityProperty

Properties

Gets or sets the CacheStorage property.

C#
public ICacheStorage CacheStorage { get; set; }

Implements: IMapSource.CacheStorage

Gets or sets culture.

C#
public CultureInfo Culture { get; set; }

Implements: IMapSource.Culture

Gets or sets the IsTileCachingEnabled property.

C#
public bool IsTileCachingEnabled { get; set; }

Implements: IMapSource.IsTileCachingEnabled

Gets or sets the opacity factor.

C#
public double Opacity { get; set; }

Implements: IMapSource.Opacity

Gets unique identifier of the map source.

C#
public string UniqueId { get; protected set; }

Implements: IMapSource.UniqueId

Methods

Gets empty image.

C#
protected virtual ImageSource GetEmptyImage(UIElement element, Size imageSize)
Parameters:elementUIElement

Tile presenter.

imageSizeSize

Image size.

Returns:

ImageSource

Gets the image source.

C#
protected virtual ImageSource GetImageSource(int zoomLevel)
Parameters:zoomLevelint

Zoom level.

Returns:

ImageSource

Image source.

Initialize map source.

C#
public virtual void Initialize()

Implements: IMapSource.Initialize()

Indicates whether specified tile level is supported.

C#
public virtual bool IsLevelSupported(int level)
Parameters:levelint

Tile level.

Returns:

bool

true if tile level is supported. false otherwise.

Implements: IMapSource.IsLevelSupported(int)

Raise ImageSourceChanged event.

C#
protected void RaiseImageSourceChanged()

Raise InitializeCompleted event.

C#
protected void RaiseInitializeCompleted()

Events

Occurs when initialization of the map source is completed.

C#
public event EventHandler InitializeCompleted

Implements: IMapSource.InitializeCompleted