2012-08-12 67 views
0

我這樣做:我如何知道kml中的GroundOverlays何時完成加載?

google.earth.fetchKml(ge, slopehref, function(kmlObject){ 
    if (kmlObject){ 
    ge.getFeatures().appendChild(kmlObject); 
    // GroundOverlay's still not rendered 
    } 
}); 

所以我知道在加載KML文件時,但隨後需要幾秒鐘加載地面疊加。我想在GroundOverlays渲染時獲得回調。我一直在尋找google.earth.addEventListener eventids,當網絡活動停止時可能會觸發,但我無法找到任何有關它的信息。

回答

相關問題