Back to Devexpress

ShapefileDataAdapter.FileUri Property

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

latest3.2 KB
Original Source

ShapefileDataAdapter.FileUri Property

Gets or sets an Uri that defines the location of a Shapefile.

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

A Uri object that contains a shape data file Uri.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the FileUri property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-map-load-vector-cartesian-data/CS/MapLesson2/MainWindow.xaml#L76

xml
</dxm:VectorLayer.Colorizer>
<dxm:ShapefileDataAdapter FileUri="Data/Hotel1.shp">
    <dxm:ShapefileDataAdapter.SourceCoordinateSystem>

wpf-map-use-ray-casting-algorithm-to-check-if-point-is-inside-polygon/CS/DXMapShapeFile1/MainWindow.xaml#L9

xml
<dxm:VectorLayer.Data >
    <dxm:ShapefileDataAdapter FileUri="DXMapShapeFile1;component/ShapeFile/Countries.shp" />
</dxm:VectorLayer.Data>

wpf-map_implement-custom-map-projection/CS/CustomProjection/MainWindow.xaml#L18

xml
<dxm:VectorLayer>
    <dxm:ShapefileDataAdapter FileUri="Data/Countries.shp" />
</dxm:VectorLayer>

map-wpf-manually-load-a-cartesian-map-shapefile/CS/BuildInCoordinateConverters/MainWindow.xaml#L107

xml
SourceCoordinateSystem="{Binding Path=SelectedValue.CoordinateSystem, ElementName=lbMapData}"
        FileUri="{Binding Path=SelectedValue.FileUri, ElementName=lbMapData}"/>
</dxm:VectorLayer>

See Also

ShapefileDataAdapter Class

ShapefileDataAdapter Members

DevExpress.Xpf.Map Namespace