All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

MapboxDataProvider.Tileset Property

Gets or sets a tileset that the provider loads from the service.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v20.2.dll

Declaration

public MapboxTileset Tileset { get; set; }
Public Property Tileset As MapboxTileset

Property Value

Type Description
MapboxTileset

The tileset name/names. The default value is Streets,Terrain.

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