2010-05-07 52 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