kmllayer

This function creates KmlLayer.

Parameters KmlLayerOptions to create one kml layer.
Array of KmlLayerOptions to create multiple kml layers.

Example

Note: options.map is automatically set.