Class MapBoxMapProvider
Vector tiles provider for displaying vector data from MapBox online vector services.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class MapBoxMapProvider : UriVectorTileMapProvider, IDisposable, ICloneable
Constructors
MapBoxMapProvider()
Initializes a new instance of the MapBoxMapProvider class.
Declaration
public MapBoxMapProvider()
Fields
ModeProperty
Identifies the Mode dependency property.
Declaration
public static readonly DependencyProperty ModeProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AccessToken
Gets or sets the access token of the MapBox online service. Check https://docs.mapbox.com/help/getting-started/access-tokens/ for information on how to obtain token.
Declaration
public string AccessToken { get; set; }
Property Value
System.String
|
Mode
Gets or sets the current MapBox tile set displayed. Can be a combination of sets except.
Declaration
public MapboxVectorTileset Mode { get; set; }
Property Value
MapboxVectorTileset
|
UriTemplate
The uri template of the MapBox online vector services.
Declaration
public string UriTemplate { get; }
Property Value
System.String
|
UserAccessibleModes
Gets or sets a list of user accessible mapbox tile sets (via change mode buttons).
Declaration
public ObservableCollection<MapboxVectorTileset> UserAccessibleModes { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<MapboxVectorTileset>
|
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(MapboxVectorTileset)
Called when a new tile set (mode) change command is about to be registered.
Declaration
protected void OnRegisterChangeModeCommand(MapboxVectorTileset tileSet)
Parameters
MapboxVectorTileset
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. |