MapboxDataProvider.Tileset Property
Gets or sets a tileset that the provider loads from the service.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.1.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
Property Value
Type | Description |
---|---|
MapboxTileset | The tileset name/names. The default value is Streets,Terrain. |
Available values:
Name | Description |
---|---|
Streets | The Streets tileset. |
Terrain | The Terrain tileset. |
Traffic | The Traffic tileset. |
Remarks
The following example shows how to load the Terrain tileset:
<dxm:MapControl>
<dxm:ImageLayer>
<dxm:MapboxDataProvider AccessToken="Your_Access_Token" Tileset="Terrain"/>
</dxm:ImageLayer>
</dxm:MapControl>
You can display multiple tilesets simultaneously. Tilesets are displayed in the following order:
- Streets (displayed as the bottommost in case of multiple tilesets)
- Terrain
- Traffic
<dxm:MapControl>
<dxm:ImageLayer>
<dxm:MapboxDataProvider ... Tileset="Streets,Traffic"/>
</dxm:ImageLayer>
</dxm:MapControl>
See Also