ClassUriImageProvider
Single image map provider which gets image source using its URI string.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class UriImageProvider : ImageProvider, IDisposable, ICloneable
Inheritance: objectMapProviderBaseImageProviderUriImageProvider
Implements:
Inherited Members
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
DependencyProperty
UriProperty
Identifies the Uri dependency property.
Declaration
public static readonly DependencyProperty UriProperty
Field Value
DependencyProperty
ZoomNumericFormatProperty
Identifies the ZoomNumericFormat dependency property.
Declaration
public static readonly DependencyProperty ZoomNumericFormatProperty
Field Value
DependencyProperty
Properties
BaseAddress
Gets or sets the uri of the base address.
Declaration
public Uri BaseAddress { get; set; }
Property Value
Uri
SpatialReference
Returns the SpatialReference for the map provider.
Declaration
public override ISpatialReference SpatialReference { get; }
Property Value
Overrides
Uri
Gets or sets image URI.
Declaration
public Uri Uri { get; set; }
Property Value
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).