Loading the Enhanced Road Map Style
This documentation is no longer available on MSDN, however it is available as a CHM download.
Important
On July 6, 2011, the new enhanced road map style in use on https://www.bing.com/maps became the default and only road style available for all Bing Maps APIs. You no longer have to load a configuration file as described in this topic.
Load the Configuration File
To opt-in to using the new enhanced road map style, you need to load the configuration file https://dev.virtualearth.net/silverlight/mapcontrol/v1/v1.1_MapControl.xml
when you initialize your map control. Use the Load method and make sure to run this code in the XAML code behind file before the InitializeComponent call is made. Example code is shown below.
public partial class MainPage : UserControl
{
public MainPage()
{
Microsoft.Maps.MapControl.Core.MapConfiguration.Load(new System.Uri("https://dev.virtualearth.net/silverlight/mapcontrol/v1/v1.1_MapControl.xml"));
InitializeComponent();
}
}
Public Partial Class MainPage Inherits UserControl
Public Sub New()
Microsoft.Maps.MapControl.Core.MapConfiguration.Load(New System.Uri("https://dev.virtualearth.net/silverlight/mapcontrol/v1/v1.1_MapControl.xml"))
InitializeComponent()
End Sub
End Class