Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Default style of Bing map
posted

Hello,
Recently Microsoft introduce de new design of the road layer for Bingmap.

Previously, just by adding this line in the code behind, the style was adapted:

Microsoft.Maps.MapControl.Core.

 

MapConfiguration.Load(new System.Uri("http://dev.virtualearth.net/silverlight/mapcontrol/v1/v1.1_MapControl.xml"));

But, with your control, how can I reproduce this?

Parents
  • 2505
    Offline posted

    Hi, loicbar,

    To replace the old road style with the new one, you could use the following approach:
    1) Update the Bing Maps service reference in your project by right-clicking it and chosing Update Service Reference.
    2) Change the MapStyle of your ImageryMetadataRequest instance to Road_v1.

    Please, keep in mind that the Bing Maps Teem officially stated in their blog, that beginning on May 1, the new style will become the default and only road style, so possibly a further change in the name of the style might follow. More information on MapStyle Enumeration is available here.

    Hope that helps,
    Milana Zhileva

Reply Children