Skip to main content
All docs
V25.1
  • AzureTrafficIncidentResult Members

    Contains a traffic incident information response obtained from the Azure Maps service.

    Properties

    Name Description
    Cause Returns the cause of the incident, where available, in the language requested.
    ClusterSize Returns the number of incidents in the cluster.
    CoordinateBottomLeft Returns the bottom left coordinates of the cluster in the projection of the request.
    CoordinateTopRight Returns the top right coordinates of the cluster in the projection of the request.
    DelayMagnitude Returns the magnitude of the delay associated with the incident. These values correspond to incident colors in the traffic tiles.
    DelaySeconds Returns the delay caused by the incident in seconds (except for road closures).
    Description Returns the description of the incident in the language requested.
    EndDate Returns the estimated end date of the incident, if available. The date is described in the ISO8601 format.
    FromLocationName Returns the name of the intersection or location where the traffic due to the incident starts.
    IconCategory Returns the icon category associated with this incident.
    Id Returns the ID of the traffic incident.
    LengthMeters Returns the length of the incident in meters.
    Point Returns the point where an icon of the cluster or raw incident should be drawn, expressed in the requested projection. This value is affected by traffic style, zoom level, and road type.
    RoadNames Returns the road names (numbers) affected by the incident. Multiple road numbers are separated by slashes.
    StartDate Returns the date the incident occurred, if available. The date is described in the ISO8601 format.
    ToLocationName Returns the name of the intersection or location where the traffic due to the incident ends.

    Methods

    Name Description
    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.
    ToString() Returns the textual representation of this AzureTrafficIncidentResult.
    See Also