Class ImageMapSource
Map source which provides ImageSource for the Image control.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class ImageMapSource : DependencyObject, IMapSource
Constructors
ImageMapSource()
Initializes a new instance of the ImageMapSource class.
Declaration
public ImageMapSource()
Fields
OpacityProperty
Identifies the Opacity Opacity dependency property.
Declaration
public static readonly DependencyProperty OpacityProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Culture
Gets or sets culture.
Declaration
public CultureInfo Culture { get; set; }
Property Value
System.Globalization.CultureInfo
|
Implements
Opacity
Gets or sets the opacity factor.
Declaration
public double Opacity { get; set; }
Property Value
System.Double
|
Implements
UniqueId
Gets unique identifier of the map source.
Declaration
public string UniqueId { get; protected set; }
Property Value
System.String
|
Implements
Methods
GetEmptyImage(UIElement, Size)
Gets empty image.
Declaration
protected virtual ImageSource GetEmptyImage(UIElement element, Size imageSize)
Parameters
System.Windows.UIElement
element
Tile presenter. |
System.Windows.Size
imageSize
Image size. |
Returns
System.Windows.Media.ImageSource
|
GetImageSource(Int32)
Gets the image source.
Declaration
protected virtual ImageSource GetImageSource(int zoomLevel)
Parameters
System.Int32
zoomLevel
Zoom level. |
Returns
System.Windows.Media.ImageSource
Image source. |
Initialize()
Initialize map source.
Declaration
public virtual void Initialize()
Implements
IsLevelSupported(Int32)
Indicates whether specified tile level is supported.
Declaration
public virtual bool IsLevelSupported(int level)
Parameters
System.Int32
level
Tile level. |
Returns
System.Boolean
true if tile level is supported. false otherwise. |
Implements
RaiseImageSourceChanged()
Raise ImageSourceChanged event.
Declaration
protected void RaiseImageSourceChanged()
RaiseInitializeCompleted()
Raise InitializeCompleted event.
Declaration
protected void RaiseInitializeCompleted()
Events
InitializeCompleted
Occurs when initialization of the map source is completed.
Declaration
public event EventHandler InitializeCompleted
Event Type
System.EventHandler
|