ClassMapBoxMapProvider
Vector tiles provider for displaying vector data from MapBox online vector services.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class MapBoxMapProvider : UriVectorTileMapProvider, IDisposable, ICloneable
Inheritance: objectMapProviderBaseTiledProviderVectorTileMapProviderUriVectorTileMapProviderMapBoxMapProvider
Implements:
Inherited Members
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
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.
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
UriTemplate
The uri template of the MapBox online vector services.
Declaration
[SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public string UriTemplate { get; }
Property Value
UserAccessibleModes
Gets or sets a list of user accessible mapbox tile sets (via change mode buttons).
Declaration
public ObservableCollection<MapboxVectorTileset> 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(MapboxVectorTileset)
Called when a new tile set (mode) change command is about to be registered.
Declaration
protected void OnRegisterChangeModeCommand(MapboxVectorTileset 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