getDefPositionTracker static method

MapSceneObject getDefPositionTracker()

Returns the SDK's default position tracker object.

The SDK creates a default position tracker after it receives the first location update. The returned instance is managed by the SDK and will update automatically from the active PositionService data source.

Returns

See also:

Implementation

static MapSceneObject getDefPositionTracker() {
  final OperationResult resultString = staticMethod(
    'MapSceneObject',
    'getDefPositionTracker',
  );

  return MapSceneObject.init(resultString['result'], 0);
}