scripts/modelCreation.js
/**
 * Determine whether or not a KmlObject derived from a KMZ file contains anything in it
 * @param {KmlObject} kmlObject An object presumably containing a model that can be displayed
 * @return {boolean} Whether or not kmlObject has anything in it
 */
Determine whether or not a KmlObject derived from a KMZ file contains anything in it
@param {KmlObject} kmlObject An object presumably containing a model that can be displayed
@return {boolean} Whether or not kmlObject has anything in it
Determine whether or not a KmlObject derived from a KMZ file contains anything in it @param { KmlObject } kmlObject An object presumably containing a model that can be displayed @return { boolean } Whether or not kmlObject has anything in it
function doesKmlObjectHaveValues(kmlObject) {
	var hasValues = true;
	if(!kmlObject || !kmlObject.getFeatures().getChildNodes().getLength())
		hasValues = false;
	return hasValues;
}
function doesKmlObjectHaveValues ( kmlObject ) { var hasValues = true ; if ( ! kmlObject || ! kmlObject . getFeatures ( ) . getChildNodes ( ) . getLength ( ) ) hasValues = false ; return hasValues ; }
Determine whether or not a KmlObject derived from a KMZ file contains anything in it
 @param {KmlObject} kmlObject An object presumably containing a model that can be displayed
 @return {boolean} Whether or not kmlObject has anything in it
Determine whether or not a KmlObject derived from a KMZ file contains anything in it @param { KmlObject } kmlObject An object presumably containing a model that can be displayed @return { boolean } Whether or not kmlObject has anything in it