Class UriImageProvider
Single image map provider which gets image source using its URI string.
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class UriImageProvider : ImageProvider, IDisposable, ICloneable
Constructors
UriImageProvider()
Initializes a new instance of the UriImageProvider class.
Declaration
public UriImageProvider()
Fields
BaseAddressProperty
Identifies the BaseAddress dependency property.
Declaration
public static readonly DependencyProperty BaseAddressProperty
Field Value
System.Windows.DependencyProperty
|
UriProperty
Identifies the Uri dependency property.
Declaration
public static readonly DependencyProperty UriProperty
Field Value
System.Windows.DependencyProperty
|
ZoomNumericFormatProperty
Identifies the ZoomNumericFormat dependency property.
Declaration
public static readonly DependencyProperty ZoomNumericFormatProperty
Field Value
System.Windows.DependencyProperty
|
Properties
BaseAddress
Gets or sets the uri of the base address.
Declaration
public Uri BaseAddress { get; set; }
Property Value
System.Uri
|
SpatialReference
Returns the SpatialReference for the map provider.
Declaration
public override ISpatialReference SpatialReference { get; }
Property Value
ISpatialReference
|
Overrides
Uri
Gets or sets image URI.
Declaration
public Uri Uri { get; set; }
Property Value
System.Uri
|
Remarks
If you have separate image for every zoom level then URI string must contain {zoom} part. This part will be replaced with zoom level when image requested. For example: "/MyApplication;component/MapImages/image_{zoom}.png".
ZoomNumericFormat
Gets or sets numeric format string will be used to replace {zoom} placeholder. For example "D2" will replace {zoom} placeholder with 2 digits integer (01, 02, ..., 19). The default value is null, which produce simple integer without paddings (1, 2, ... 9, 10, ... 19).
Declaration
public string ZoomNumericFormat { get; set; }
Property Value
System.String
|
Methods
Clone()
Implements the ICloneable interface.
Declaration
public object Clone()
Returns
System.Object
Cloned object. |