BingTraffic

The Traffic Service provides access to real-time traffic data using the Bing Traffic API. For more information, check out https://msdn.microsoft.com/en-us/library/hh441725.aspx

RPCS

BingTraffic.search(westLongitude: Longitude, northLatitude: Latitude, eastLongitude: Longitude, southLatitude: Latitude)

Search for traffic accidents in a given region. Results are sent as messages in the format:

Message type: Traffic fields: latitude, longitude, type

Arguments:

BingTraffic.stop()

Stop any pending requested messages (search results).