preciseRoute property

List<Coordinates> get preciseRoute

The precise, full-resolution route recorded in the log.

The preciseRoute returns every recorded GPS sample from the log and should be used when an exact replay or analysis of the recorded path is required. This list can be large for long recordings.

Returns

  • A list of Coordinates containing all recorded positions.

See also:

  • route - A simplified, downsampled version of the recorded path.
  • Path - A class representing a geometric path.

Implementation

List<Coordinates> get preciseRoute {
  final OperationResult resultString = objectMethod(
    pointerId,
    'LogMetadata',
    'getPreciseRoute',
  );

  final List<dynamic> rawList = resultString['result'];

  return rawList
      .map((dynamic e) => Coordinates.fromJson(e as Map<String, dynamic>))
      .toList();
}