Back to Devexpress

AzureTrafficIncidentDataProvider.RequestTrafficIncidents(SearchBoundingBox, Int32, Int32, AzureTrafficIncidentOptions) Method

wpf-devexpress-dot-xpf-dot-map-dot-azuretrafficincidentdataprovider-dot-requesttrafficincidents-x28-searchboundingbox-int32-int32-azuretrafficincidentoptions-x29.md

latest2.2 KB
Original Source

AzureTrafficIncidentDataProvider.RequestTrafficIncidents(SearchBoundingBox, Int32, Int32, AzureTrafficIncidentOptions) Method

Requests incidents for the specified region.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public void RequestTrafficIncidents(
    SearchBoundingBox boundingBox,
    int boundingZoom,
    int trafficModelId,
    AzureTrafficIncidentOptions options
)
vb
Public Sub RequestTrafficIncidents(
    boundingBox As SearchBoundingBox,
    boundingZoom As Integer,
    trafficModelId As Integer,
    options As AzureTrafficIncidentOptions
)

Parameters

NameTypeDescription
boundingBoxSearchBoundingBox

Limits the area for the traffic incident request.

| | boundingZoom | Int32 |

Zoom level for the desired tile. Specify 0 to 22 for raster and vector tiles.

| | trafficModelId | Int32 |

A number referencing traffic model that is valid for two minutes. A value of -1 always invokes the most recent traffic model.

| | options | AzureTrafficIncidentOptions |

An AzureTrafficIncidentOptions object that defines incident request parameters.

|

See Also

AzureTrafficIncidentDataProvider Class

AzureTrafficIncidentDataProvider Members

DevExpress.Xpf.Map Namespace