create static method

KmlGroundOverlay? create({
  1. required Geometry geometry,
  2. KmlIcon? icon,
})

Creates a KML ground overlay with the specified geometry and icon.

The specified geometry must be either an Envelope or a Polygon with exactly 4 points. Other geometry types are not supported.

Parameters:

  • geometry — The geometry associated to the ground overlay.
  • icon — The icon associated to the ground overlay.