【发布时间】:2015-07-14 15:33:40
【问题描述】:
我的 fetch kml 不起作用。这是我的代码:
function initCallback(object) {
ge = object;
ge.getWindow().setVisibility(true);
function finished(object) {
if (!object) {
setTimeout(function() {
alert('Bad or null KML.');
}, 0);
return;
}
ge.getFeatures().appendChild(object);
}
var url = 'http://localhost/ta/bangun.aula.kml';
google.earth.fetchKml(ge, url, finished);
document.getElementById('installed-plugin-version').innerHTML = ge.getPluginVersion().toString();
}
【问题讨论】:
-
描述“不起作用”。你看到了什么?你期待什么?
标签: kml fetch google-earth-plugin