Map Image Data
- 2 minutes to read
This document describes the types of predefined map image data providers supported by the Map control and details information on how to use them.
Currently, the following map images data provider types are supported.
Bing Maps Data Provider
For information on how to use it, refer to How to: Use the BingMapDataProvider.
If you run the application and see a window with the following error message: “Access was denied. You may have entered your credentials incorrectly, or you might not have access to the requested resource or operation.”, refer to the following tutorial: How to: Get a Bing Maps Key.
The following image shows the map control connected to the MS Bing Maps provider.
OpenStreetMap Data Provider
For more information how to use it, refer to How to: Use the OpenStreetMapDataProvider
To control which web resource should be used in your application as an OpenStreetMap data provider, you should assign specific values for the OpenStreetMapDataProvider.TileUriTemplate property. Note that by default, this property is set to obtain data from the OpenStreetMap official web service.
The following image shows the map control connected to the OpenStreetMap provider.