queryForFlowInCircle method - TrafficEngine class - traffic library - Dart API
queryForFlowInCircle
queryForFlowInCircle abstract method
- GeoCircle circleArea,
- TrafficFlowQueryOptions queryOptions,
- TrafficFlowQueryCallback callback
Asynchronously queries for traffic flow using a circle as a filter.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
circleAreaThe circle area to search for traffic flow. The maximum radius of the circle filter is 50000 meters. -
queryOptionsThe options which are specific for flow 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 queryForFlowInCircle(GeoCircle circleArea, TrafficFlowQueryOptions queryOptions, TrafficFlowQueryCallback callback);