Skip to main content
All docs
V24.1

BingTrafficIncidentDataProvider Members

Allows you to receive information about traffic incidents within a specified area from the Bing Maps service and display incident icons on the map.

Constructors

Name Description
BingTrafficIncidentDataProvider() Initializes a new instance of the BingTrafficIncidentDataProvider class.

Properties

Name Description
BingKey Gets or sets the key that is required to connect to the Bing Maps data provider. Inherited from BingMapDataProviderBase.
ConnectionProtocol Gets or sets the value indicating the transfer protocol that the data provider uses to request data. Inherited from BingMapDataProviderBase.
GenerateLayerItems Gets or sets a value indicating whether or not it is necessary to automatically generate items for this layer. Inherited from InformationDataProviderBase.
IsBusy Obsolete. Returns a value indicating the InformationDataProviderBase is currently busy performing a previous request. Inherited from InformationDataProviderBase.
MaxVisibleResultCount Specifies the number of displayed results requested. Inherited from InformationDataProviderBase.
Options Returns the options that the provider uses when it requests traffic incidents.
ProcessMouseEvents Gets or sets a value indicating whether or not it is necessary to process mouse events by this data provider. Inherited from InformationDataProviderBase.

Methods

Name Description
ClearSearchPanel() Clears the Search Panel. Inherited from InformationDataProviderBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RequestTrafficIncidents(SearchBoundingBox, BingTrafficIncidentSeverity, BingTrafficIncidentType, Object) Requests incidents in the specified region for the specified user state.
RequestTrafficIncidents(SearchBoundingBox, BingTrafficIncidentSeverity, BingTrafficIncidentType) Requests incidents for the specified region.
ToString() Returns the short class name enclosed in parentheses.

Events

Name Description
LayerItemsGenerating Occurs when a data provider starts generating map items for a layer. Inherited from InformationDataProviderBase.
TrafficIncidentCalculated Occurs after the provider has received a list of traffic incidents.
WebRequest Occurs when the Map control sends a request to a web service. Inherited from WebInformationDataProvider.
See Also