ClassAzureMapProvider
Tiles provider for displaying vector and raster data from Azure Maps online services.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class AzureMapProvider : VectorTileMapProvider, IDisposable, ICloneable
Inheritance: objectMapProviderBaseTiledProviderVectorTileMapProviderAzureMapProvider
Implements:
Inherited Members
Constructors
AzureMapProvider()
Initializes a new instance of the AzureMapProvider class.
Declaration
public 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
subscriptionKey
tileSet
Fields
APIVersionProperty
Identifies the APIVersion dependency property.
Declaration
public static readonly DependencyProperty APIVersionProperty
Field Value
DependencyProperty
LanguageProperty
Identifies the Language dependency property.
Declaration
public static readonly DependencyProperty LanguageProperty
Field Value
DependencyProperty
TileSetProperty
Identifies the TileSet dependency property.
Declaration
public static readonly DependencyProperty TileSetProperty
Field Value
DependencyProperty
Properties
APIVersion
Gets or sets the Azure Maps 'Render' Rest API version. For more information check https://docs.microsoft.com/en-us/rest/api/maps/.
Language
Gets or sets the language of the AzureMapProvider. For list of all supported languages check https://learn.microsoft.com/en-us/azure/azure-maps/supported-languages.
SpatialReference
Returns the SpatialReference for the map provider.
Declaration
public override ISpatialReference SpatialReference { get; }
Property Value
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.
TileSet
Gets or sets the Azure Maps tile set.
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
Methods
Clone()
Implements the ICloneable interface.
OnPreviewSourceChanged(IMapSource)
Called after map provider switch to another map source.
Declaration
protected override void OnPreviewSourceChanged(IMapSource source)
Parameters
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
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
uniqueId
Map source unique ID.
Overrides