KmlScreenOverlay constructor

KmlScreenOverlay({
  1. KmlIcon? icon,
})

Creates a screen overlay with the specified icon.

If the icon is null, a rectangle is drawn using the color and size defined by KmlScreenOverlay.color and KmlScreenOverlay.size.

Parameters:

  • icon — The icon associated to the screen overlay.