UriImageProvider
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
Initializes a new instance of the UriImageProvider class.
public UriImageProvider()
Fields
BaseAddressProperty
DependencyProperty
Identifies the BaseAddress dependency property.
public static readonly DependencyProperty BaseAddressProperty
UriProperty
DependencyProperty
Identifies the Uri dependency property.
public static readonly DependencyProperty UriProperty
ZoomNumericFormatProperty
DependencyProperty
Identifies the ZoomNumericFormat dependency property.
public static readonly DependencyProperty ZoomNumericFormatProperty
Properties
BaseAddress
Uri
Gets or sets the uri of the base address.
public Uri BaseAddress { get; set; }
Returns the SpatialReference for the map provider.
public override ISpatialReference SpatialReference { get; }
Overrides:
Uri
Uri
Gets or sets image URI.
public Uri Uri { get; set; }
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".
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).
public string ZoomNumericFormat { get; set; }