KmlIconStyle constructor

KmlIconStyle({
  1. KmlIcon? icon,
  2. double scale = 1,
})

Creates an icon style with the specified icon and scale.

A null icon will result in the default yellow pushpin icon being used. An icon with an incorrect or inaccessible URI will result in a red cross icon being used.

Parameters:

  • icon — Icon for drawing the point placemarks.
  • scale — Scale of the icon.