Class MapBoxVectorTileSource
Vector tile source for MapBox online services. This source is supported by MapBoxMapProvider.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class MapBoxVectorTileSource : UriVectorTileMapSource, IMapSource
Constructors
MapBoxVectorTileSource(String, String, MapboxVectorTileset)
Initializes a new instance of the MapBoxVectorTileSource class.
Declaration
public MapBoxVectorTileSource(string template, string accessToken, MapboxVectorTileset mode)
Parameters
System.String
template
Uri template of the vector tiles source. |
System.String
accessToken
The MapBox account access token. |
MapboxVectorTileset
mode
Mapbox vector tile set. |
Methods
GetTile(Int32, Int32, Int32)
Gets the image URI.
Declaration
protected override Uri GetTile(int tileLevel, int tilePositionX, int tilePositionY)
Parameters
System.Int32
tileLevel
Tile level. |
System.Int32
tilePositionX
Tile X. |
System.Int32
tilePositionY
Tile Y. |
Returns
System.Uri
URI of image. |