wpf-devexpress-dot-xpf-dot-map-dd505c28.md
Provides map data from a set of PBF or MVT files.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
public class UriBasedVectorTileDataProvider :
VectorTileDataProviderBase
Public Class UriBasedVectorTileDataProvider
Inherits VectorTileDataProviderBase
You can use UriBasedVectorTileDataProvider to draw a map based on a set of .PBF or .MVT files that store vector tiles in binary format.
<dxm:MapControl>
<dxm:ImageLayer>
<dxm:UriBasedVectorTileDataProvider TileUriTemplate="D:\PbfFiles\{x}-{y}-{level}.pbf"/>
</dxm:ImageLayer>
</dxm:MapControl>
If a default vector tile style does not meet your requirements, you can apply a custom style. Use the VectorTileDataProviderBase.StyleFileUri property to define a path to a style file. See Vector Tile Providers: Vector Tile Styles for more information about styles.
<dxm:UriBasedVectorTileDataProvider ... StyleFileUri="D:\Styles\basic-style.json"/>
Show 11 items
Object DispatcherObject DependencyObject Freezable MapDependencyObject MapImageDataProviderBase DevExpress.Xpf.Map.MapTileDataProviderBase ImageTileDataProvider VectorTileDataProviderBase UriBasedVectorTileDataProvider MapboxDataProvider
See Also