, - html init API
<body onload="init()">
bla bla bla
</body>
JavaScript GE ,
function init()
{
if (ge == null)
{
google.earth.createInstance("content", initCallback, failureCallback);
}
}
finally -
function failureCallback(errorCode)
{
if (errorCode == "ERR_CREATE_PLUGIN") {
alert("Plugin not installed")
} else {
alert("Other failure loading the Google Earth Plugin: " + errorCode);
}
}
.
MikeD