locked
Display traffic in Bing Maps WPF control RRS feed

  • Question

  • Hi,

    In Bing maps Ajax v7 there is traffic manager which displays the traffic on the map using below code.

    var trafficManager = new MM.Traffic.TrafficManager(map);
    trafficManager.show();

    How to achieve the same in Bing Maps WPF control ?

    Appreciate the response.

    Friday, April 14, 2017 8:52 AM

Answers

  • Wow, it's been so long since I've used this control I forgot it doesn't have traffic. Note that the WPF control is rarely used anymore and is maintenance mode (code only touched only if absolutely needed). The Bing Maps V8 web control can be used in WPF apps. It has a lot more features and much greater performance then the older WPF control. You can easily host the Bing Maps V8 control inside of a web browser control. Take a look at this document: https://msdn.microsoft.com/en-US/library/mt793328.aspx

    [Blog] [twitter] [LinkedIn]

    Friday, April 14, 2017 4:39 PM

All replies

  • Wow, it's been so long since I've used this control I forgot it doesn't have traffic. Note that the WPF control is rarely used anymore and is maintenance mode (code only touched only if absolutely needed). The Bing Maps V8 web control can be used in WPF apps. It has a lot more features and much greater performance then the older WPF control. You can easily host the Bing Maps V8 control inside of a web browser control. Take a look at this document: https://msdn.microsoft.com/en-US/library/mt793328.aspx

    [Blog] [twitter] [LinkedIn]

    Friday, April 14, 2017 4:39 PM
  • Thanks for the reply.

    For Bing Maps V8 web control the key requirement is IE 11 or Edge installed on our machine. But due to corporate policies we are not allowed to update the IE version to IE 11 or edge, that's why we decided to use Bing Maps WPF control.

    Monday, April 17, 2017 5:51 AM