setWatermarkLogoProperties method
- WatermarkPosition pos = WatermarkPosition.bottomRight,
- double sizeMM = 15.0,
- 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 is15mm. Defaults to15.alpha: The watermark opacity in the[0, 1]range. Minimum effective value is0.3. Defaults to0.5.
See also:
- watermarkLogoVisibility - Toggle the watermark logo visibility.
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,
},
);
}