Back to Devexpress

MbTilesDataProvider.FileUri Property

wpf-devexpress-dot-xpf-dot-map-dot-mbtilesdataprovider.md

latest1.7 KB
Original Source

MbTilesDataProvider.FileUri Property

SECURITY-RELATED CONSIDERATIONS

Downloading map data passed through URLs specified by the FileUri 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 of an .MbTiles file.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public Uri FileUri { get; set; }
vb
Public Property FileUri As Uri

Property Value

TypeDescription
Uri

Specifies an MbTiles file’s URI.

|

Remarks

The following example shows how to use a MbTilesDataProvider object to load vector tiles from a MbTiles database:

xaml
<dxm:MapControl>
    <dxm:ImageLayer>
        <dxm:MbTilesDataProvider FileUri="D:\MapTiles\countries.mbtiles"/>
    </dxm:ImageLayer>
</dxm:MapControl>

See Also

MbTilesDataProvider Class

MbTilesDataProvider Members

DevExpress.Xpf.Map Namespace