AzureMapProvider
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
Initializes a new instance of the AzureMapProvider class.
public AzureMapProvider()
Initializes a new instance of the AzureMapProvider class with specific subscription key and initial azure tile set.
public AzureMapProvider(string subscriptionKey, AzureTileSet tileSet)
Fields
APIVersionProperty
DependencyProperty
Identifies the APIVersion dependency property.
public static readonly DependencyProperty APIVersionProperty
LanguageProperty
DependencyProperty
Identifies the Language dependency property.
public static readonly DependencyProperty LanguageProperty
TileSetProperty
DependencyProperty
Identifies the TileSet dependency property.
public static readonly DependencyProperty TileSetProperty
Properties
Gets or sets the Azure Maps 'Render' Rest API version. For more information check https://docs.microsoft.com/en-us/rest/api/maps/.
public string APIVersion { get; set; }
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.
public CultureInfo Language { get; set; }
Returns the SpatialReference for the map provider.
public override ISpatialReference SpatialReference { get; }
Overrides:
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.
public string SubscriptionKey { get; set; }
Gets or sets the Azure Maps tile set.
public AzureTileSet TileSet { get; set; }
Gets or sets a list of user accessible Azure maps tile sets (via change mode buttons).
public ObservableCollection<AzureTileSet> UserAccessibleModes { get; }
Methods
Implements the ICloneable interface.
Called after map provider switch to another map source.
protected override void OnPreviewSourceChanged(IMapSource source)
Map source is used.
Overrides:
Called when a new tile set (mode) change command is about to be registered.
protected void OnRegisterChangeModeCommand(AzureTileSet tileSet)
The new tile set.
Set state of the commands depends on the new map source.
protected override void SetCommandState(string uniqueId)
Map source unique ID.
Overrides: