Class
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:

cs-api-definition
public class UriImageProvider : ImageProvider, IDisposable, ICloneable

Inheritance: objectMapProviderBaseImageProviderUriImageProvider

Implements: ICloneableIDisposable

Inherited Members ImageProvider.ImageMapProviderBase.GeoBoundsPropertyMapProviderBase.GeoBoundsNWPropertyMapProviderBase.GeoBoundsSEPropertyMapProviderBase.OpacityPropertyMapProviderBase.Dispose()MapProviderBase.GetValidatedGeoPoint(Location)MapProviderBase.SetMapSourceToClone(MapProviderBase, string)MapProviderBase.SetMapSource(string)MapProviderBase.TryGetMapSource(string, out IMapSource)MapProviderBase.ApplySourceModes(string)MapProviderBase.Dispose(bool)MapProviderBase.CreateInstanceCore()MapProviderBase.OnPreviewSourceChange(IMapSource)MapProviderBase.OnPreviewSourceChanged(IMapSource)MapProviderBase.InheritParameters(MapProviderBase)MapProviderBase.InheritCurrentSource(MapProviderBase)MapProviderBase.RegisterSetSourceCommand(Type, string, DataTemplate, Uri, CanExecuteRoutedEventHandler, ExecutedRoutedEventHandler)MapProviderBase.SetCommandState(string)MapProviderBase.SourceInitializationFaulted(object, InitializationFaultEventArgs)MapProviderBase.TilePresenterMapSourceChanged(object, SourceChangedEventArgs)MapProviderBase.CommandBindingCollectionMapProviderBase.CommandsMapProviderBase.GeoBoundsMapProviderBase.GeoBoundsNWMapProviderBase.GeoBoundsSEMapProviderBase.OpacityMapProviderBase.SupportedSourcesMapProviderBase.MapSourcesMapProviderBase.InitializationFaultedMapProviderBase.MapSourceChangedMapProviderBase.SpatialReferenceChanged

Constructors

UriImageProvider()

Initializes a new instance of the UriImageProvider class.

Declaration

cs-api-definition
public UriImageProvider()

Fields

BaseAddressProperty

Identifies the BaseAddress dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BaseAddressProperty

Field Value

DependencyProperty

UriProperty

Identifies the Uri dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty UriProperty

Field Value

DependencyProperty

ZoomNumericFormatProperty

Identifies the ZoomNumericFormat dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ZoomNumericFormatProperty

Field Value

DependencyProperty

Properties

BaseAddress

Gets or sets the uri of the base address.

Declaration

cs-api-definition
public Uri BaseAddress { get; set; }

Property Value

Uri

SpatialReference

Returns the SpatialReference for the map provider.

Declaration

cs-api-definition
public override ISpatialReference SpatialReference { get; }

Property Value

ISpatialReference

Overrides MapProviderBase.SpatialReference

Uri

Gets or sets image URI.

Declaration

cs-api-definition
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).

Declaration

cs-api-definition
public string ZoomNumericFormat { get; set; }

Property Value

string

Methods

Clone()

Implements the ICloneable interface.

Declaration

cs-api-definition
public object Clone()

Returns

object

Cloned object.

Implements ICloneable.Clone()