MapboxDataProvider.AccessToken Property
Gets or sets the Mapbox service’s access token.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
Property Value
Type | Description |
---|---|
String | A string that represents the access token. |
Remarks
Use the AccessToken property to specify a Mapbox Service’s access token. See the access token page for more information on how to obtain the token.
Example
The following example shows how to use a MapboxDataProvider object to connect to the Mapbox Service.
<dxm:MapControl>
<dxm:ImageLayer>
<dxm:MapboxDataProvider AccessToken="Your_Access_Token" />
</dxm:ImageLayer>
</dxm:MapControl>
See Also