cameraFocus property

Point<double> get cameraFocus

Get the follow position camera focus in viewport coordinates ( between 0.f = left / top and 1.f = right / bottom )

Returns

  • The camera focus position

Implementation

Point<double> get cameraFocus {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'FollowPositionPreferences',
    'getCameraFocus',
    dependencyId: _mapPointerId,
  );

  return XyType<double>.fromJson(resultString['result']).toPoint();
}