scripts/main.js
/**
 * Initialize an instance of the Google Earth Plugin
 */
Initialize an instance of the Google Earth Plugin
Initialize an instance of the Google Earth Plugin
function init() {
	google.earth.createInstance("googleEarthPlugin", initCB, failureCB);
}
function init ( ) { google . earth . createInstance ( "googleEarthPlugin" , initCB , failureCB ) ; }
Initialize an instance of the Google Earth Plugin
Initialize an instance of the Google Earth Plugin
/**
	 * @param {string} googleEarthPlugin a HTML div element with a unique ID
	 * @callback initCB the callback function to run if instance creation is successful
	 * @callback failureCB the callback function to run if instance creation is unsuccessful
	 */