Class AzureMapProvider
Tiles provider for displaying vector and raster data from Azure Maps online services.
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class AzureMapProvider : VectorTileMapProvider, IDisposable, ICloneable
Constructors
AzureMapProvider()
AzureMapProvider(String, AzureTileSet)
Initializes a new instance of the AzureMapProvider class with specific subscription key and initial azure tile set.
Declaration
public AzureMapProvider(string subscriptionKey, AzureTileSet tileSet)
Parameters
System.String
subscriptionKey
|
AzureTileSet
tileSet
|
Fields
TileSetProperty
Initializes a new instance of the AzureMapsProvider class.
Declaration
public static readonly DependencyProperty TileSetProperty
Field Value
System.Windows.DependencyProperty
|
Properties
SpatialReference
Returns the SpatialReference for the map provider.
Declaration
public override ISpatialReference SpatialReference { get; }
Property Value
ISpatialReference
|
Overrides
SubscriptionKey
Gets or sets the subscription key of the user's Azure account. Check https://learn.microsoft.com/en-gb/azure/azure-maps/how-to-manage-authentication#view-authentication-details/ for information on how to obtain subscription key.
Declaration
public string SubscriptionKey { get; set; }
Property Value
System.String
|
TileSet
Gets or sets the Azure Maps tile set.
Declaration
public AzureTileSet TileSet { get; set; }
Property Value
AzureTileSet
|
UserAccessibleModes
Gets or sets a list of user accessible Azure maps tile sets (via change mode buttons).
Declaration
public ObservableCollection<AzureTileSet> UserAccessibleModes { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<AzureTileSet>
|
Methods
Clone()
Implements the ICloneable interface.
Declaration
public object Clone()
Returns
System.Object
Cloned object. |
Implements
OnPreviewSourceChanged(IMapSource)
Called after map provider switch to another map source.
Declaration
protected override void OnPreviewSourceChanged(IMapSource source)
Parameters
IMapSource
source
Map source is used. |
Overrides
OnRegisterChangeModeCommand(AzureTileSet)
Called when a new tile set (mode) change command is about to be registered.
Declaration
protected void OnRegisterChangeModeCommand(AzureTileSet tileSet)
Parameters
AzureTileSet
tileSet
The new tile set. |
SetCommandState(String)
Set state of the commands depends on the new map source.
Declaration
protected override void SetCommandState(string uniqueId)
Parameters
System.String
uniqueId
Map source unique ID. |