KmlIcon constructor

KmlIcon(
  1. Uri uri
)

Creates a KML icon from the provided path to an image file.

Creates a KML icon. KML icon defines the image associated with an overlay or an icon style.

Parameters:

  • uri — The location of the image file, either on disk or from the network.