2010-05-07 86 views
0

有誰知道爲什麼谷歌地球api只支持COLLADA(.dae)3D模型覆蓋而不是kmz?谷歌地球API - 3D模型覆蓋

KmlModel GEPlugin.createModel ( string  id )  

Creates a model. A model is a 3D object described in a COLLADA file. COLLADA files have a .dae file extension. Models are created in their own coordinate space and then located, positioned, and scaled in Google Earth. 

Parameters: 
    id ID of the new KmlModel. 

是否可以覆蓋kmz?

乾杯

回答

0

這是因爲(Collada的)3D模型和KML/KMZ文件是根本不同的 - Collada的包含最重要的幾何圖元,而KML/KMZ文件中包含的地理編碼。有兩個功能。

甲KML或KMZ文件經由KmlNetworkLink() function