2015-09-28 49 views

回答

0

參考KML中的GroundOverlays正在使用谷歌地圖擴展<gx:LatLonQuad>,這在Google Maps API中不受支持。在谷歌地球API支持KML元素
https://developers.google.com/kml/documentation/kmlelementsinmaps

<GroundOverlay> 
    <visibility>0</visibility> 
    <Icon> 
     <href>http://rockymtngreenway.org/~greenway/rockyMtnArsenalLabel9.png</href> 
     <viewBoundScale>0.75</viewBoundScale> 
    </Icon> 
    <gx:LatLonQuad> *** 
     <coordinates> 
      -104.8533817983386,39.8660912769105,0 -104.7777966394869,39.8660912769105,0 -104.7777966394869,39.88672843848668,0 -104.8533817983386,39.88672843848668,0 
     </coordinates> 
    </gx:LatLonQuad> *** 
</GroundOverlay> 

嘗試

列表您KML轉換爲標準KML 2.2不使用LatLonBox元素谷歌地球擴展。

此外,地面覆蓋圖的可見性爲0(false),因此默認情況下它們不可見。