mapScalePosition property

RectType<int> get mapScalePosition

Get the map scale position.

Returns

  • The map position

Throws

  • An exception if it fails.

Implementation

RectType<int> get mapScalePosition {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewPreferences',
    'getMapScalePosition',
  );

  return RectType<int>.fromJson(resultString['result']);
}
set mapScalePosition (RectType<int> value)

Sets the map position.

Parameters

  • IN value The map position

Throws

  • An exception if it fails.

Implementation

set mapScalePosition(final RectType<int> value) {
  objectMethod(
    _pointerId,
    'MapViewPreferences',
    'setMapScalePosition',
    args: value,
  );
}