viewportF property

RectType<double> get viewportF

The current viewport in parent screen ratio.

Returns

  • The current viewport

Throws

  • An exception if it fails.

Implementation

RectType<double> get viewportF {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapView',
    'getViewportF',
  );

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