wpf-devexpress-dot-xpf-dot-map-dot-imagelayer.md
Gets or sets the provider used to obtain images from an image source.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
public MapImageDataProviderBase DataProvider { get; set; }
Public Property DataProvider As MapImageDataProviderBase
| Type | Description |
|---|---|
| MapImageDataProviderBase |
A MapImageDataProviderBase object.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the DataProvider 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-connect-to-openstreetmap/CS/MainWindow.xaml#L9
<dxm:ImageLayer>
<dxm:ImageLayer.DataProvider>
<dxm:OpenStreetMapDataProvider TileUriTemplate="http://{subdomain}.tile.MyCustomOSMProvider.org/{tileLevel}/{tileX}/{tileY}.png"
map-wpf-manually-load-a-cartesian-map-shapefile/CS/BuildInCoordinateConverters/MainWindow.xaml#L100
<dxm:ImageTilesLayer>
<dxm:ImageTilesLayer.DataProvider>
<dxm:BingMapDataProvider BingKey="YourBingKey"/>
wpf-map-process-search-with-a-custom-search-panel/CS/MapControl_SearchPanel/MainWindow.xaml#L28
<dxm:ImageLayer>
<dxm:ImageLayer.DataProvider>
<dxm:AzureMapDataProvider AzureKey="{Binding Source={StaticResource azureKey}}"/>
wpf-map-implement-a-custom-map-data-provider/CS/MainWindow.xaml.cs#L14
CustomMapDataProvider provider = new CustomMapDataProvider();
imageLayer.DataProvider = provider;
provider.WebRequest += Provider_WebRequest;
See Also