queryForIncidentsInBox abstract method
- GeoBox boxArea,
- TrafficIncidentsQueryOptions queryOptions,
- TrafficIncidentsQueryCallback callback
Asynchronously queries for traffic incidents using a bounding box as a filter.
-
boxAreaThe bounding box area to search for traffic incidents. The maximum width and height for a bounding box filter is 1 degree. -
queryOptionsThe options which are specific for incidents query. -
callbackIt is always invoked on the main thread.
Returns TaskHandle. Handle that will be used to manipulate the execution of the task.
Implementation
TaskHandle queryForIncidentsInBox(GeoBox boxArea, TrafficIncidentsQueryOptions queryOptions, TrafficIncidentsQueryCallback callback);