Use gaDefinePropertiesForLayer in gaImportKml
Give KML layers the "KML" label