wpf-devexpress-dot-xpf-dot-map-dot-uribasedvectortiledataprovider.md
Downloading image tiles passed through URLs specified by the TileUriTemplate property may create security issues. Review the following help topic and learn how to spot, analyze, and prohibit unwanted download requests:
Suppress Control Requests to Download Data from External URLs
Gets or sets a URI template used to obtain tiles from a local folder path or tile server.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
public string TileUriTemplate { get; set; }
Public Property TileUriTemplate As String
| Type | Description |
|---|---|
| String |
A string that specifies a URI template. The default URI template is https://insert\_tile\_server/{level}/{x}/{y}.pbf
|
Use the following placeholders to specify the TileUriTemplate :
For example, use the “D:\PbfFiles{x}-{y}-{level}.pbf” pattern to load tiles from the files below:
This example shows how to use the UriBasedVectorTileDataProvider to load vector tiles (in PBF format) from a local directory:
<dxm:MapControl>
<dxm:ImageLayer>
<dxm:UriBasedVectorTileDataProvider TileUriTemplate="D:\PbfFiles\{x}-{y}-{level}.pbf"/>
</dxm:ImageLayer>
</dxm:MapControl>
See Also
UriBasedVectorTileDataProvider Class