MFImageOverlay constructor

const MFImageOverlay({
  1. required MFImageOverlayId imageOverlayId,
  2. required MFBitmap image,
  3. required MFLatLngBounds bounds,
  4. double transparency = 0.0,
  5. int zIndex = 0,
  6. 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);