trackedPositions property
Get the current tracked positions as a coordinates list
Returns
The list of tracked Coordinates. If tracking is not started the function will return empty list.
Implementation
List<Coordinates> get trackedPositions {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewExtensions',
'getTrackedPositions',
dependencyId: _mapControllerId,
);
final List<Coordinates> coords = (resultString['result'] as List<dynamic>)
.map((dynamic e) => Coordinates.fromJson(e))
.toList();
return coords;
}