Não é possível carregar um arquivo KMZ local em um navegador com o plug-in do google earth usando a função fetchkml
Temos um arquivo KMZ que é carregado no aplicativo do Google Earth Desktop. Sem erros.
Quando tentamos usar o plug-in do Google Earth para fazer a mesma coisa, ele nem retorna dofetchKml
função. Quaisquer configurações especiais que precisamos saber para usarfetchKml
em um arquivo local?
Eu estou tentando carregar o arquivo da seguinte forma:
// Where 'ge' is the Google Earth Plugin
var href = 'C:/KMLDATA/TEST.KMZ';
google.earth.fetchKml(ge, href, function(kml) { /* do something with kml */ });