Share via

Loading the Enhanced Road Map Style

This documentation is no longer available on MSDN, however it is available as a CHM download.


On July 6, 2011, the new enhanced road map style in use on 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 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(""));

Public Partial Class MainPage Inherits UserControl
     Public Sub New()

          Microsoft.Maps.MapControl.Core.MapConfiguration.Load(New System.Uri(""))


     End Sub
End Class