GroundOverlay constructor

const GroundOverlay({
  1. required GroundOverlayId groundOverlayId,
  2. required double width,
  3. required double height,
  4. required BitmapDescriptor imageDescriptor,
  5. LatLng? position,
  6. double bearing = 0.0,
  7. bool clickable = false,
  8. LatLngBounds? bounds,
  9. Offset anchor = const Offset(0.5, 1.0),
  10. double transparency = 0.0,
  11. bool visible = true,
  12. double zIndex = 0.0,
  13. VoidCallback? onClick,
})

Implementation

const GroundOverlay({
  required this.groundOverlayId,
  required this.width,
  required this.height,
  required this.imageDescriptor,
  this.position,
  this.bearing = 0.0,
  this.clickable = false,
  this.bounds,
  this.anchor = const Offset(0.5, 1.0),
  this.transparency = 0.0,
  this.visible = true,
  this.zIndex = 0.0,
  this.onClick,
});