calculateIsoline abstract method

TaskHandle calculateIsoline(
  1. Waypoint center,
  2. IsolineOptions isolineOptions,
  3. CalculateIsolineCallback callback
)

Asynchronously calculates isolines to indicate the reachable area from a center point.

This finds all destinations that can be reached in a specific amount of time, a maximum travel distance, or even the charge level available in an electric vehicle. The result is a polygon area where each point is reachable within the provided limit.

  • center Center point from which isolines are calculated. At minimum, the waypoint must contain the coordinates as point of origin.

  • isolineOptions Options for isoline calculation.

  • callback Callback object that will be invoked after isoline calculation. It is always invoked on the main thread.

Returns TaskHandle. Handle that will be used to manipulate the execution of the task.

Implementation

TaskHandle calculateIsoline(Waypoint center, IsolineOptions isolineOptions, CalculateIsolineCallback callback);