setWatermarkLogoProperties method

void setWatermarkLogoProperties({
  1. WatermarkPosition pos = WatermarkPosition.bottomRight,
  2. double sizeMM = 15.0,
  3. double alpha = 0.5,
})

Sets the properties of the watermark logo.

Configures the on-screen position, size and opacity used when the watermark logo is rendered.

Parameters

  • pos: The watermark position on the screen. Defaults to WatermarkPosition.bottomRight.
  • sizeMM: The watermark size in millimeters. Minimum value is 15 mm. Defaults to 15.
  • alpha: The watermark opacity in the [0, 1] range. Minimum effective value is 0.3. Defaults to 0.5.

See also:

Implementation

void setWatermarkLogoProperties({
  final WatermarkPosition pos = WatermarkPosition.bottomRight,
  final double sizeMM = 15.0,
  final double alpha = 0.5,
}) {
  objectMethod(
    _pointerId,
    'MapView',
    'setWatermarkLogoProperties',
    args: <String, Object>{
      'pos': pos.id,
      'sizeMM': sizeMM,
      'alpha': alpha,
    },
  );
}