MFImageOverlay constructor
const
MFImageOverlay({
- required MFImageOverlayId imageOverlayId,
- required MFBitmap image,
- required MFLatLngBounds bounds,
- double transparency = 0.0,
- int zIndex = 0,
- bool visible = true,
Creates an immutable representation of a MFImageOverlay to draw on Map4dMap.
Implementation
const MFImageOverlay({
required this.imageOverlayId,
required this.image,
required this.bounds,
this.transparency = 0.0,
this.zIndex = 0,
this.visible = true,
}) : assert(transparency >= 0.0 && transparency <= 1.0);